centerToPOI
Centers the map view to a specific Point of Interest (POI).
Return
true
if the centering operation was successful, false otherwise (e.g., if the POI with the given ID does not exist).
Parameters
id
The unique identifier of the POI.
animated
Whether the transition should be animated. Defaults to true
.
zoom
The desired zoom level. Defaults to defaultZoom.
abstract fun centerToPOI(poi: PointOfInterest, animated: Boolean = true, zoom: Double = defaultZoom): Boolean
Centers the map view to a specific Point of Interest (POI).
Return
true
if the map was successfully centered, false
otherwise.
Parameters
poi
The PointOfInterest to center the map on.
animated
Whether the transition should be animated. Defaults to true
.
zoom
The desired zoom level. Defaults to defaultZoom.