17 examples, each running on a real vector basemap. Every page shows the example live, with its source beside it to copy into your own project, and an editor to change it and run it again.
To see more of the library at once, open the playground: its demos go further, from offline maps to a whole navigation app.
01 · Basic map
A vector basemap, a draggable marker and its popup.
02 · Camera
Three ways to move the camera.
03 · Vector tiles, styled from scratch
The same OpenMapTiles planet the basemap draws, with a style of our own.
04 · Style spec
Data of your own on the basemap, through the style.
05 · Heatmap
A HeatmapLayer over 500 points, its colour ramp cycling every few seconds.
06 · Terrain and hillshade
The Matterhorn in 3D, from real elevation.
07 · Clusters
5,000 points indexed by GeoJSONClusterSource, drawn as bubbles with their counts that regroup as you zoom.
08 · Symbols with collision
Ten midtown landmarks laid out by the library's CollisionIndex.
09 · Search
Apple Maps' search box in one line.
10 · Turn-by-turn
Directions from the Ferry Building to the Palace of Fine Arts.
11 · Offline maps
The Offline Maps button.
12 · Globe
The whole world on a sphere, drawn from the same basemap tiles as the flat map.
13 · Map types
Apple's map types from one basemap.
14 · Indoor maps
An airport terminal's floor plan, drawn one level at a time once you are close enough to see inside, with a level picker beside the map.
15 · Landmarks and trees
A glTF model stands in for its building, as Apple Maps shows famous ones.
16 · Look Around
Street-level pictures you can turn in and walk through, from Panoramax, the open street-level imagery project (no key).
17 · Localization
The same controls in German.