LayerOptions class final

Options that are used when adding a layer to the map.

Constructors

LayerOptions({bool active = true, bool nightModeAvailable = true, bool cacheable = false, bool animateOnActivation = false, Duration tileAppearingAnimationDuration = const core.Duration(milliseconds: 400), OverzoomMode overzoomMode = mapkit_layers_overzoom_mode.OverzoomMode.Disabled, bool transparent = false, bool versionSupport = true})
const

Properties

active bool
Inactive layers are not displayed on the map and do not request any tiles from TileProvider.
final
animateOnActivation bool
Indicates whether layer activation/deactivation should be animated.
final
cacheable bool
Determines whether tiles are cached on persistent storage or not.
final
hashCode int
The hash code for this object.
no setteroverride
nightModeAvailable bool
Indicates the availability of night mode for this layer (for example, night mode is disabled for the satellite layer). Default: true.
final
overzoomMode OverzoomMode
Whether to render tiles from adjacent zoom levels in place of absent or translucent tiles.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tileAppearingAnimationDuration Duration
Specifies duration of tile appearing animation. Can be set to 0 to disable animation. Default: 400 ms
final
transparent bool
Set this flag if layer is transparent, that is parts of underlying layers can be seen through it. This will disable some rendering optimizations that take advantage of layer opacity.
final
versionSupport bool
Determines if layer supports versioning
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant LayerOptions other) bool
The equality operator.
override