Represents a geographic area on the surface of a WGS 84 Ellipsoid.
In calculations related to these geographic areas, the altitude information contained in the Coordinates object is ignored. All geographic areas deal with Coordinates objects.
The TilesCollectionGeographicArea class is treated differently from other geographic areas. Its bounding box is used instead of the full object.
Constructors
-
GeographicArea.fromJson(Map<
String, dynamic> json) -
factory
Properties
- boundingBox → RectangleGeographicArea
-
Returns the bounding box of the area.
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
- isDefault → bool
-
Checks if the geographic area has default values.
no setter
- 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.
-
convert(
GeographicAreaType toType) → GeographicArea? - Converts the geographic area to another type, if possible.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void - Resets the geographic area object to its default state.
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited