TilesetDescriptorOptions class

Describes the tileset descriptor option values.

Constructors

TilesetDescriptorOptions({required String styleURI, required int minZoom, required int maxZoom, double? pixelRatio, List<String?>? tilesets, StylePackLoadOptions? stylePackOptions, Map<String?, Object?>? extraOptions})

Properties

extraOptions ↔ Map<String?, Object?>?
Extra tileset descriptor options.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
maxZoom ↔ int
Maximum zoom level for the tile package.
getter/setter pair
minZoom ↔ int
Minimum zoom level for the tile package.
getter/setter pair
pixelRatio ↔ double?
Pixel ratio to be accounted for when downloading raster tiles.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stylePackOptions ↔ StylePackLoadOptions?
Style package load options, associated with the tileset descriptor.
getter/setter pair
styleURI ↔ String
The style associated with the tileset descriptor.
getter/setter pair
tilesets ↔ List<String?>?
The tilesets associated with the tileset descriptor.
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.
override

Static Methods

decode(Object result) → TilesetDescriptorOptions