GeoPolygon class final
A polygon on the earth's surface.
This type can be used as the query argument for a geoWithin
query.
It cannot be persisted as a property on a realm object.
- Implemented types
Constructors
-
GeoPolygon(GeoRing outerRing, [List<
GeoRing> holes = const []]) -
Create a polygon from an
outerRing
and a list ofholes
The outer ring must be a closed ring, and the holes must be non-overlapping closed rings inside the outer ring.
Properties
Methods
-
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.
override