GeoJsonPolygon class

A GeoJSON Polygon geometry.

Implemented types

Constructors

GeoJsonPolygon(List<List<List<double>>> coordinates)
GeoJsonPolygon.fromJson(Map<String, dynamic> json)
factory

Properties

coordinates → List<List<List<double>>>
List of linear rings (first is exterior, rest are holes).
final
exterior → List<List<double>>
The exterior ring.
no setter
hashCode → int
The hash code for this object.
no setterinherited
holes → List<List<List<double>>>
The hole rings.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → String
The type of this geometry.
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Converts to a GeoJSON map.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited