MapSourceExtension extension

Extension for MapSource to get tile URLs and metadata.

on

Properties

description String

Available on MapSource, provided by the MapSourceExtension extension

Short description.
no setter
displayName String

Available on MapSource, provided by the MapSourceExtension extension

Display name.
no setter
icon IconData

Available on MapSource, provided by the MapSourceExtension extension

Icon for this map source.
no setter
isDarkSource bool

Available on MapSource, provided by the MapSourceExtension extension

Whether this is a dark/night-optimized map source. Dark sources don't need color matrix filter in dark mode.
no setter
isPriority bool

Available on MapSource, provided by the MapSourceExtension extension

Whether this is a priority source (preload on startup).
no setter
maxNativeZoom int

Available on MapSource, provided by the MapSourceExtension extension

Returns the maximum native zoom level for this map source. Beyond this level, tiles are upscaled from the max available.
no setter
subdomains List<String>

Available on MapSource, provided by the MapSourceExtension extension

Returns subdomains if applicable (for load balancing).
no setter
urlTemplate String

Available on MapSource, provided by the MapSourceExtension extension

Returns the tile URL template for this map source.
no setter