Route fly-over playground
A camera that flies a mountain route on a loop, over 3D terrain, with the route replanned from two search boxes
The camera flies the arrow up the Grand St Bernard pass as the page loads, keeping the road ahead in frame.
RouteFlyoveranimates the camera from the route alone, andsetRoutemoves it onto a replanned one.- It aims at the next guidance instruction, so the view turns into a bend before reaching it.
- The arrow sits lower on screen as the camera
tilts, which
anchorForPitchderives andsetCameraretunes mid-flight. TerrainModuleraises the relief, and the camera pulls back where a ridge would hide the road.Buildings3DandGLSurfacesstand on it once toggled on.
Related examples
Buildings 3D playground
Give the base map's 3D buildings windows, a sun that casts shadows and a night look, and tune their look live
Playground
Terrain and 3D
Plugins
Web
Cinematic city fly-by
Fly like a bird through eight cities and over five landscapes, banking round their landmarks and down their avenues, in twenty looks with skies, typefaces and effects of their own
Playground
Terrain and 3D
Map Style
Plugins
Web
Cinematic city orbit
Circle the Empire State Building through Midtown in eight looks, each mixing 3D buildings, bloom, depth of field and a map theme
Playground
Terrain and 3D
Map Style
Plugins
Web
Map Chat Agent
Ask a chat beside the map for places, routes or traffic, and watch the map search, draw and frame the answer
Playground
AI
Search and Geocoding
Places and POIs
Map Style
Base Map
Geometry
Traffic
Routing
Plugins
Web
React