TileRegionLoadOptions class
Describes the tile region load option values.
Constructors
-
TileRegionLoadOptions({Map<
String?, Object?> ? geometry, List<TilesetDescriptorOptions?> ? descriptorsOptions, Map<String?, Object?> ? metadata, required bool acceptExpired, required NetworkRestriction networkRestriction, Point? startLocation, int? averageBytesPerSecond, Map<String?, Object?> ? extraOptions})
Properties
- acceptExpired ↔ bool
-
Accepts expired data when loading tiles.
read / write
- averageBytesPerSecond ↔ int?
-
Limits the download speed of the tile region.
read / write
-
descriptorsOptions
↔ List<
TilesetDescriptorOptions?> ? -
The tile region's tileset descriptors.
read / write
-
extraOptions
↔ Map<
String?, Object?> ? -
Extra tile region load options.
read / write
-
geometry
↔ Map<
String?, Object?> ? -
The tile region's associated geometry.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
metadata
↔ Map<
String?, Object?> ? -
A custom Mapbox Value associated with this tile region for storing metadata.
read / write
- networkRestriction ↔ NetworkRestriction
-
Controls which networks may be used to load the tile.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- startLocation ↔ Point?
-
Starts loading the tile region at the given location and then proceeds to tiles that are further away
from it.
read / write
Methods
-
encode(
) → Object -
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
Static Methods
-
decode(
Object result) → TileRegionLoadOptions