In mapbox v9 I could animate the camera using the animatecamera method.
In mapbox v10 it says to use flyTo
or easeTo
. However none of these methods exist in the mapboxMap object?
mapView = findViewById(R.id.mapView)
mapboxMap = mapView.getMapboxMap()
mapboxMap.flyTo(); //Method not found??
Sorry but I am not familiar with Kotlin, so this question is for a java based solution.
Mapbox help section:
https://docs.mapbox.com/android/maps/guides/migrate-to-v10/