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.
getter/setter pair
averageBytesPerSecond int?
Limits the download speed of the tile region.
getter/setter pair
descriptorsOptions List<TilesetDescriptorOptions?>?
The tile region's tileset descriptors.
getter/setter pair
extraOptions Map<String?, Object?>?
Extra tile region load options.
getter/setter pair
geometry Map<String?, Object?>?
The tile region's associated geometry.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String?, Object?>?
A custom Mapbox Value associated with this tile region for storing metadata.
getter/setter pair
networkRestriction NetworkRestriction
Controls which networks may be used to load the tile.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startLocation Point?
Starts loading the tile region at the given location and then proceeds to tiles that are further away from it.
getter/setter pair

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