Appearance
Providers and Tiles
We support a numerous of service for both Geocoding (providers) and for the map tiles (tiles).
As default we use the free services from OpenSteetmap for both Tiles and Geocoding.
For some Providers and Tiles, you need a API key. In the CP there will be a description how to obtains such API Key.
In a multi-site (MSM) install every site has its own geocoding providers, route providers and tiles. A new site starts with a copy of the ones of the first site.
Geocoding providers
The geocoding providers can be enabled in the CP under "Providers". When more than one provider is enabled, the next provider is used when the previous one has no result, in the order of the table below.
| Provider | Name | API key |
|---|---|---|
| OpenStreetMap | openstreetmap | No |
| Google Maps | google_maps | Yes (Server key with the Geocoding API enabled). Optional Region and Components settings |
| Bing Maps | bing_maps | Yes. Deprecated: Microsoft is retiring Bing Maps for Enterprise, keys from a free (Basic) account no longer work (from v5.0.0) |
Geocoding of IP addresses (e.g. ips="" in the Geocoder tag) uses free IP based services and doesn't need any setup.
Route providers
The route providers are used by the route tags and can be set in the CP under "Route Providers".
| Provider | Name | API key |
|---|---|---|
| Google Maps | google_maps | Yes (with the Routes API enabled) |
| OpenRouteService | openrouteservice | Yes (free) |
| OSRM | osrm | No, the URL of your OSRM server |
| Bing Maps | bing_maps | Yes. Deprecated: Microsoft is retiring Bing Maps for Enterprise, keys from a free (Basic) account no longer work (from v5.0.0) |
Tiles
The tiles can be enabled in the CP under "Tiles". Use the name of the tile in the tiles parameter of the map tag, e.g. tiles="openstreetmap|google_maps_roadmap".
| Tile | Names | API key |
|---|---|---|
| OpenStreetMap | openstreetmap | No |
| Google Maps | google_maps_roadmap google_maps_satellite google_maps_terrain google_maps_hybrid | Yes |
| Apple Maps | apple_maps_default apple_maps_satellite apple_maps_hybrid | Yes |
| OpenTopoMap | open_topo_map | No |
| Thunderforest | thunderforest_open_cycle_map thunderforest_transport thunderforest_transport_dark thunderforest_spinal_map thunderforest_landscape thunderforest_outdoors thunderforest_pioneer | Yes |
| Stamen (Stadia Maps) | stamen_toner stamen_toner_background stamen_toner_lite stamen_toner_watercolor stamen_terrain stamen_terrain_background | Optional, see below |
| Stadia Maps | stadia_alidade_smooth stadia_alidade_smooth_dark stadia_alidade_satellite stadia_outdoors stadia_osm_bright | Optional, see below |
| MapTiler | maptiler_streets maptiler_outdoor maptiler_base maptiler_hybrid | Yes |
| CARTO | carto_voyager carto_voyager_nolabels carto_positron carto_positron_nolabels carto_dark_matter carto_dark_matter_nolabels | Yes, see below |
| Mapbox | mapbox_streets mapbox_terrain (satellite with streets) mapbox_outdoors mapbox_light mapbox_dark mapbox_satellite | Yes |
| Lantmäteriet (SE) | lantmateriet | Yes |
| Self-hosted vector map | pmtiles pmtiles_light pmtiles_dark pmtiles_white pmtiles_grayscale pmtiles_black | No, a file on your server, see Vector maps |
Stadia Maps: the Stadia Maps tiles, and since 2023 also the Stamen tiles, are hosted by Stadia Maps. stadia_alidade_satellite may need a paid plan. Register your domain in the Stadia Maps dashboard (no API key needed), or set a Stadia Maps API key on the tile in the CP (e.g. for an intranet). On localhost it works without both. (from v5.0.0)
CARTO: the CARTO basemaps need a free API key (request it here). Commercial use is free up to 1 million tile requests per month, above that CARTO needs a paid plan. Check the CARTO basemap terms for your site. (from v5.0.0)
When a tile is not enabled in the CP, it will not be shown and an error is written to the log.
The Hydda and OpenMapSurfer tiles (their servers are gone) and the Bing Maps tile (it never showed a map) are removed in v5.0.0. A map that uses them falls back to openstreetmap and logs an error, pick another tile.
