OfflineRegion class Offline
Model class that represents a map region for offline usage.
- Annotations
Constructors
- OfflineRegion({required int id, required LngLatBounds bounds, required double minZoom, required double maxZoom, required double pixelRatio, required String styleUrl})
-
Create a new OfflineRegion instance.
const
Properties
- bounds → LngLatBounds
-
The bounding box of the map region.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
The region id.
final
- maxZoom → double
-
The maximum zoom level.
final
- minZoom → double
-
The minimum zoom level.
final
- pixelRatio → double
-
The pixel ratio.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleUrl → String
-
The style URL.
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 ==(
Object other) → bool -
The equality operator.
override