PolygonGeographicArea class Core

PolygonGeographicArea object.

Implemented types

Constructors

PolygonGeographicArea({List<Coordinates> coordinates = const <Coordinates>[]})
PolygonGeographicArea.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 setteroverride
centerPoint Coordinates
Retrieves the center point of the geographic area. Calculates and returns the geographic center of the area.
no setteroverride
coordinates List<Coordinates>
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
isEmpty bool
Checks if the geographic area is empty.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type GeographicAreaType
Retrieves the specific type of the geographic area.
no setteroverride

Methods

containsCoordinates(Coordinates point) bool
Checks if the specified point is contained within the geographic area.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
override

Operators

operator ==(covariant PolygonGeographicArea other) bool
The equality operator.
override