mapbox-navigation-android
mapbox-navigation-android copied to clipboard
Mapbox Navigation Not Updating the location
that's my code that start the navigation
start.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
NavigationLauncherOptions options = NavigationLauncherOptions.builder()
.origin(Point.fromLngLat(markeri.getPosition().getLongitude(), markeri.getPosition().getLatitude()))
.destination(destination).shouldSimulateRoute(false).build();
NavigationLauncher.startNavigation(MainActivity.this, options);
}
}); ```
it display the ui but the marker not moving.