MultiPolygon class
Class representing a list of polygons.
Constructors
Properties
- coordinates → List
-
The shape's coordinates that will be serialized as the
coordinates
GeoJSON field.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
true
iif the multi-polygon contains no polygon.no setter - isNotEmpty → bool
-
true
iif the multi-polygon contains one or more polygons.no setter -
paths
→ Iterable<
Iterable< Point> > -
The shape's sets of points.
no setteroverride
-
polygons
→ Iterable<
Polygon> -
The list of polygons.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → DataType
-
The shape's data type that will be serialized as the
type
GeoJSON field.final
Methods
-
add(
Polygon polygon) → void - Adds a polygon to the multi-polygon.
-
addAll(
Iterable< Polygon> polygons) → void - Adds a set of polygons to the multi-polygon.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toGeoJson(
) → Map< String, dynamic> -
Serializes to GeoJSON.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this instance to a JSON object (GeoJson).
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromGeoJson(
Map geoJson, GeospatialConfig config) → MultiPolygon -
Deserializes from GeoJSON.
override
-
loadGeographyCoords(
Iterable coords) → MultiPolygon -
loadGeometryCoords(
Iterable coords) → MultiPolygon