public void OnMapReady(MapboxMap mapboxMap) { this.mapboxMap = mapboxMap; locationLayerPlugin = new LocationLayerPlugin(mapView, mapboxMap, null); locationLayerPlugin.SetLocationLayerEnabled(LocationLayerMode.Navigation); navigationMapRoute = new NavigationMapRoute(navigation, mapView, mapboxMap); mapboxMap.SetOnMapClickListener(this); Snackbar.Make(mapView, "Tap map to place waypoint", BaseTransientBottomBar.LengthLong).Show(); locationEngine = new MockLocationEngine(1000, 50, true); mapboxMap.SetLocationSource(locationEngine); NewOrigin(); }