MapSource enum

Available map tile sources.

Inheritance
Available extensions

Values

openStreetMap → const MapSource

OpenStreetMap - Standard street map (day default)

cartoVoyager → const MapSource

CartoDB Voyager - Colorful detailed map.

cartoDarkMatter → const MapSource

CartoDB Dark Matter - Night-optimized dark map.

cartoPositron → const MapSource

CartoDB Positron - Light grayscale map.

esriWorldStreetMap → const MapSource

Esri World Street Map - Professional street map.

esriWorldImagery → const MapSource

Esri World Imagery - Satellite imagery.

esriWorldTopo → const MapSource

Esri World Topo - Topographic map.

openTopoMap → const MapSource

OpenTopoMap - Free topographic map.

cyclOSM → const MapSource

CyclOSM - Optimized for cycling.

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
hashCode int
The hash code for this object.
no setterinherited
icon IconData

Available on MapSource, provided by the MapSourceExtension extension

Icon for this map source.
no setter
index int
A numeric identifier for the enumerated value.
no setterinherited
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
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<MapSource>
A constant List of the values in this enum, in order of their declaration.