setMapboxMap method
- MapboxMap mapboxMap
Implementation
void setMapboxMap(mapbox.MapboxMap mapboxMap) {
_mapboxMap = mapboxMap;
_cameraController = CameraController(mapboxMap);
// Start periodically updating camera position
_startCameraPositionUpdates();
_initializeLocation();
notifyListeners();
}