MapData class abstract
The full set of rendered map geometry for one poster: roads, water and park
features, plus the bounds used to project them onto the canvas.
- Annotations
-
- @freezed
Constructors
-
MapData({required List<
RoadSegment> roads, required List<MapFeature> waterFeatures, required List<MapFeature> parkFeatures, required LatLonBounds bounds}) -
constfactory
Properties
-
allFeatures
→ List<
MapFeature> -
Water and park features combined, in draw order (water first).
no setter
- bounds → LatLonBounds
-
no setterinherited
-
copyWith
→ $MapDataCopyWith<
MapData> -
Create a copy of MapData
with the given fields replaced by the non-null parameter values.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
parkFeatures
→ List<
MapFeature> -
no setterinherited
-
roads
→ List<
RoadSegment> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
waterFeatures
→ List<
MapFeature> -
no setterinherited
Methods
-
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