OfflineGeometryRegionDefinition class final

An offline region that covers a GeoJSON geometry.

The members other than geometry mean the same as those of OfflineTilePyramidRegionDefinition.

See mln_offline_geometry_region_definition in the C API reference.

Constructors

OfflineGeometryRegionDefinition({String styleUrl = '', required Object? geometry, double minZoom = 0, double maxZoom = 0, double pixelRatio = 0, bool includeIdeographs = false})
const

Properties

geometry → Object?
final
hashCode → int
The hash code for this object.
no setterinherited
includeIdeographs → bool
final
maxZoom → double
final
minZoom → double
final
pixelRatio → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
styleUrl → String
final

Methods

copyWith({String? styleUrl, Object? geometry = _unchanged, double? minZoom, double? maxZoom, double? pixelRatio, bool? includeIdeographs}) → OfflineGeometryRegionDefinition
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