OfflineTilePyramidRegionDefinition class final
An offline region that covers a rectangle of the map.
See mln_offline_tile_pyramid_region_definition in the
C API reference.
Constructors
- OfflineTilePyramidRegionDefinition({String styleUrl = '', LatLngBounds bounds = const LatLngBounds(), double minZoom = 0, double maxZoom = 0, double pixelRatio = 0, bool includeIdeographs = false})
-
const
Properties
- bounds → LatLngBounds
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- includeIdeographs → bool
-
Whether the region holds the glyphs of CJK ideographs.
final
- maxZoom → double
-
INFINITY covers every zoom level that the style's sources have.
final
- minZoom → double
-
final
- pixelRatio → double
-
The pixel ratio of the images to download, such as 2 for dense screens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- styleUrl → String
-
The style whose resources the region holds. Maps use the region when they
load the same style URL.
final
Methods
-
copyWith(
{String? styleUrl, LatLngBounds? bounds, double? minZoom, double? maxZoom, double? pixelRatio, bool? includeIdeographs}) → OfflineTilePyramidRegionDefinition - 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