diff options
author | Pablo Guardiola <guardiola31337@gmail.com> | 2017-11-29 08:31:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-29 08:31:46 +0100 |
commit | a1f207b090a1ddb36c8103c9af621b119286f97e (patch) | |
tree | 845b4222280e5f5c30ee281f4e69cdfb5593be70 | |
parent | 3f962574ed855c0edc92c88a24cca47dd6943bc4 (diff) | |
download | qtlocation-mapboxgl-a1f207b090a1ddb36c8103c9af621b119286f97e.tar.gz |
[android] use location engine abstraction instead of location source (lost) in MyLocationView#init (#10579)
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java index aa7934ec1e..3fe3c7b40d 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationView.java @@ -33,7 +33,6 @@ import com.mapbox.mapboxsdk.camera.CameraUpdateFactory; import com.mapbox.mapboxsdk.constants.MyBearingTracking; import com.mapbox.mapboxsdk.constants.MyLocationTracking; import com.mapbox.mapboxsdk.geometry.LatLng; -import com.mapbox.mapboxsdk.location.LocationSource; import com.mapbox.mapboxsdk.maps.MapboxMap; import com.mapbox.mapboxsdk.maps.Projection; import com.mapbox.services.android.telemetry.location.LocationEngine; @@ -162,7 +161,7 @@ public class MyLocationView extends View { } @Deprecated - public void init(LocationSource locationSource) { + public void init(LocationEngine locationSource) { this.locationEngine = locationSource; } |