MapSource enum

MapSource defines the source of the map. Is used in layrz_theme's ThemedTileLayer component to draw the map.

Inheritance
Available extensions

Values

mapbox → const MapSource

MapSource.mapbox is the source for Mapbox maps using Mapbox Map Static Tiles API More information about the service can be found here: https://docs.mapbox.com/api/maps/#static-tiles Layrz API definition: MAPBOX

google → const MapSource

MapSource.google is the source for Google maps using Google Maps Map Tiles API More information about the service can be found here: https://developers.google.com/maps/documentation/tile/overview

Layrz API definition: GOOGLE_MAPS

osm → const MapSource

MapSource.osm is the source for OpenStreetMap maps. Uses the OpenStreetMap Map Tiles server with the URL https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png Layrz API definition: OSM

here → const MapSource

MapSource.here is the source for HERE maps using HERE Map Raster Tiles API v3 More information about the service can be found here: https://www.here.com/docs/bundle/raster-tile-api-v3-api-reference/page/index.html Layrz API definition: HERE

custom → const MapSource

MapSource.custom is the source for custom maps. Should define a valid URL with {x}, {y}, and {z} placeholders using the slippy map format. Layrz API definition: CUSTOM_RASTER

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Methods

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

Operators

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

Static Methods

fromJson(String json) MapSource
fromJson returns the enum value from a string representation.

Constants

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