This object represents a geographical area on the surface of a WGS 84 Ellipsoid.
In the calculations related to these geographical areas the altitude information contained in the Coordinates object is ignored. All geographical areas deal with Coordinates objects.
The TilesCollectionGeographicArea class is treated differently from other geographical areas. Its bounding box is used instead of the full object
Constructors
-
GeographicArea.fromJson(Map<
String, dynamic> json) -
factory
Properties
- boundingBox → RectangleGeographicArea
-
Get the bounding box.
This is the smallest rectangle that can be drawn around the area such that it surrounds this geographic area
completely.
no setter
- centerPoint → Coordinates
-
Retrieves the center point of the geographic area.
Calculates and returns the geographic center of the area.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Checks if the geographic area is empty.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → GeographicAreaType
-
Retrieves the specific type of the geographic area.
no setter
Methods
-
containsCoordinates(
Coordinates point) → bool - Checks if the specified point is contained within the geographic area.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited