Raster and vector
Raster tiles are pictures: simple, but fixed in style and heavier at high zoom. Vector tiles carry shapes and labels as data that the device draws, so styles can change, labels rotate with the map and dark mode is easy. Mapbox, MapLibre, Google and Apple all use vector approaches.
Where tiles come from
Commercial providers meter map loads. OpenStreetMap data can be turned into your own tiles with tools like OpenMapTiles and served from your hosting. The public OpenStreetMap tile servers have a usage policy that does not allow heavy commercial traffic, so do not point a production app at them.
Practical points
- Attribution is required by most licences.
- Cache tiles on the device for speed and for offline maps.
- Style the base map to suit your brand and keep your own markers readable.
- Plan for provider cost as map loads grow.
Questions, answered
The data is free to use under its licence, but you must host tiles yourself or pay a provider.
Raster tiles scaled between zoom levels; vector tiles stay sharp.