TilesCollectionGeographicArea class Core
Geographic area represented as a collection of map tiles.
Represents complex geographic regions using a collection of map tiles rather than geometric primitives.
This class acts as a proxy to an underlying native platform object and delegates most operations to that implementation. For serialization and most SDK interactions, it uses its computed boundingBox representation.
Limitations
- Some operations are unsupported.
Use Cases
Tile collection areas are suitable for:
- Representing the are where a Route is bounded.
See also:
- GeographicArea: Abstract base class for all geographic areas.
- RectangleGeographicArea: Simple rectangular area implementation.
- RouteBase.tilesGeographicArea: Method returning tile collection area.
- Implemented types
Properties
- boundingBox → RectangleGeographicArea
-
Gets the smallest rectangle that completely encloses this geographic area.
no setteroverride
- centerPoint → Coordinates
-
Gets the representative center point of this geographic area.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegisteredAutoReleaseObject ↔ bool
-
getter/setter pairinherited
- isDefault → bool
-
Indicates whether this geographic area is in a default or empty state.
no setteroverride
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → GeographicAreaType
-
Gets the specific type identifier for this geographic area implementation.
no setteroverride
Methods
-
containsCoordinates(
Coordinates coords) → bool -
Tests whether a coordinate point lies within this geographic area.
override
-
convert(
GeographicAreaType toType) → GeographicArea? -
Attempts to convert this geographic area to a different type.
override
-
dispose(
) → void -
Disposes the native object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
reset(
) → void -
Resets this geographic area to its default empty state.
override
-
toJson(
) → Map< String, dynamic> -
Serializes this instance to a JSON-compatible map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited