MPMapboxStyleSource class
Which Mapbox style's tiles are downloaded when base-map caching runs.
This must be the style the live map actually renders. Caching one style while displaying another succeeds silently, and only shows up as a blank base map once the device is offline.
Read on Android only. On iOS the SDK caches the style the map is set up to render, including one set with MapsIndoorsWidget.mapStyleUri, so this is ignored there.
- Inheritance
-
- Object
- MapsIndoorsObject
- MPMapboxStyleSource
Constructors
- MPMapboxStyleSource.custom(String styleUri)
-
Cache a custom Mapbox style, given as the same
mapbox://styles/...URI the map is rendering.const - MPMapboxStyleSource.mapsIndoorsDefault()
-
Cache the MapsIndoors-managed Mapbox style, which is the style the map renders unless
MapsIndoorsWidget.mapStyleUriwas set.const
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
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited