map.flyTo
flyTo(position: GeoPosition, options?: FlyToGeoOptions): Promise<void>Animate the view to center on a geographic position.
For planar mode: converts lat/lng to cloudScene XY offset and optionally adjusts cloudScene.position.z for the requested zoom level.
For spherical mode: rotates the globe so the given position faces the camera.
Uses a requestAnimationFrame smoothstep animation (duration=0 → instant).
position | GeoPosition | |
options | FlyToGeoOptions |
Returns: Promise<void>