GlobeRouteLayer class
Renders animated multi-waypoint flight corridors, logistics routes, and moving aircraft.
- Inheritance
-
- Object
- GlobeLayer
- GlobeRouteLayer
Constructors
-
GlobeRouteLayer({bool enabled = true, int zIndex = 25, List<
GlobeRoute> routes = const <GlobeRoute>[], List<GlobeMovingObject> movingObjects = const <GlobeMovingObject>[]}) -
Creates a route overlay with optional independently styled vehicles.
const
Properties
- enabled → bool
-
Whether this layer is rendered.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
movingObjects
→ List<
GlobeMovingObject> -
Additional vehicles with independent styling.
final
-
routes
→ List<
GlobeRoute> -
Route trajectories and their attached vehicles.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zIndex → int
-
Rendering order priority (lower zIndex paints first).
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
GlobeRenderContext context) → void -
Paints the layer contents onto the canvas.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited