MapboxStyles class

A convenience object to access the style ID strings of the professionally-designed map styles made by Mapbox.

Constructors

MapboxStyles()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Constants

DARK → const String
Dark: Subtle dark backdrop for data visualizations. Using this constant means your map style will always use the latest version and may change as we improve the style.
LIGHT → const String
Light: Subtle light backdrop for data visualizations. Using this constant means your map style will always use the latest version and may change as we improve the style.
MAPBOX_STREETS → const String
Mapbox Streets: A complete base map, perfect for incorporating your own data. Using this constant means your map style will always use the latest version and may change as we improve the style.
OUTDOORS → const String
Outdoors: A general-purpose style tailored to outdoor activities. Using this constant means your map style will always use the latest version and may change as we improve the style.
SATELLITE → const String
Satellite: A beautiful global satellite and aerial imagery layer. Using this constant means your map style will always use the latest version and may change as we improve the style.
SATELLITE_STREETS → const String
Satellite Streets: Global satellite and aerial imagery with unobtrusive labels. Using this constant means your map style will always use the latest version and may change as we improve the style.
STANDARD → const String
Mapbox Standard is a general-purpose style with 3D visualization.