Polygon class

Polygon Geometry.

Implemented types

Constructors

Polygon(List<List<LatLng>> coordinates)
Creates a Polygon.
const
Polygon.fromJson(Map<String, dynamic> json)
Creates a Polygon from JSON data.
factory

Properties

coordinates List<List<LatLng>>
List of rings of polygons in the 2D space.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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