GeoJSONMultiPolygon class
Class that represents a MultiPolygon geometry type in GeoJSON.
A MultiPolygon geometry is defined by a list of Polygon coordinate arrays.
- Implemented types
Constructors
-
GeoJSONMultiPolygon(List<
List< coordinates)List< >List< >double> > - Constructs a GeoJSONMultiPolygon from the given coordinates.
- GeoJSONMultiPolygon.fromJSON(String source)
-
Constructs a GeoJSONMultiPolygon from a JSON string.
factory
-
GeoJSONMultiPolygon.fromMap(Map<
String, dynamic> map) -
Constructs a GeoJSONMultiPolygon from a map.
factory
Properties
- area → double
-
Gets the area of the geometry.
no setteroverride
-
bbox
→ List<
double> -
An optional bounding box bbox of the GeoJSON object.
no setteroverride
-
coordinates
↔ List<
List< List< >List< >double> > -
A list of Polygon coordinate arrays that define the MultiPolygon.
getter/setter pair
- distance → double
-
Gets the distance of the geometry.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ GeoJSONType
-
Specifies the type of GeoJSON Geometry.
getter/setter pairoverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
{int indent = 0}) → String -
Converts the object to a JSON string representation.
override
-
toMap(
) → Map< String, dynamic> -
Converts GeoJSON object to a Map.
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override