[android] Extract telemetry into MAS
* [android] add the mapbox-android-telemetry module dependency. * update javadoc
This commit is contained in:
@@ -16,7 +16,7 @@ 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.LocationServices;
|
||||
import com.mapbox.mapboxsdk.location.LocationSource;
|
||||
import com.mapbox.mapboxsdk.maps.MapboxMap;
|
||||
import com.mapbox.mapboxsdk.maps.widgets.MyLocationView;
|
||||
import com.mapbox.mapboxsdk.testapp.R;
|
||||
@@ -123,7 +123,7 @@ public class MyLocationViewTest {
|
||||
mapboxMap.moveCamera(
|
||||
CameraUpdateFactory.newCameraPosition(
|
||||
new CameraPosition.Builder()
|
||||
.target(new LatLng(LocationServices.getLocationServices(view.getContext()).getLastLocation()))
|
||||
.target(new LatLng(LocationSource.getLocationEngine(view.getContext()).getLastLocation()))
|
||||
.build()
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user