OnlineBasemapProvider

Online basemap fallback provider. Used when a property has no per-property MBTiles available (mapTilesFilerId is null/empty).

Entries

Link copied to clipboard

Carto's free public basemap CDN (basemaps.cartocdn.com). Raster PNG tiles, no API key required, same provider as the Mapsted web app at maps.mapsted.com. Default.

Link copied to clipboard

OpenStreetMap's tile server (tile.openstreetmap.org). Free, no API key. Subject to OSM Foundation tile usage policy — for low/medium volume only; not recommended as the default for high-traffic apps.

Link copied to clipboard

Self-hosted OpenMapTiles server (TileServer GL or equivalent). Vector PBF tiles. Requires onlineBasemapVectorTileUrl and onlineBasemapStyleAsset to be set.

Link copied to clipboard

Custom raster tile provider. Requires onlineBasemapRasterTileUrl to be set.

Link copied to clipboard

Disable online fallback entirely. Properties without per-property MBTiles will show only the world basemap (sparse highway data).

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.