StyleTransitionOptions class final

The default [transition](https://maplibre.org/maplibre-style-spec/transition/) for changes to a style's paint properties.

See mln_style_transition_options in the C API reference.

Constructors

StyleTransitionOptions({double? durationMs, double? delayMs, bool? enablePlacementTransitions})
const

Properties

delayMs → double?
final
durationMs → double?
final
enablePlacementTransitions → bool?
Whether symbols fade in and out as the map places them.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({double? durationMs, double? delayMs, bool? enablePlacementTransitions}) → StyleTransitionOptions
A copy of this value with the given members replaced.
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 ==(Object other) → bool
The equality operator.
inherited