MultiPoint class Null safety
a MultiPoint is a collection of Coordinates that share properties.
Constructors
-
MultiPoint(List<
Coordinate> coordinates, {dynamic properties = const <String, dynamic>{}}) -
MultiPoint.fromJson(Map<
String, dynamic> json) -
Creates a MultiPoint from a valid GeoJSON Map.
factory
- MultiPoint.fromWKT(String wkt)
-
Creates a MultiPoint from a WKT String.
factory
Properties
-
coordinates
↔ List<
Coordinate> -
read / write
- hashCode → int
-
The hash code for this object.
read-only, inherited
-
properties
↔ Map<
String, dynamic> -
read / write, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
explode(
) → List< Point> -
Explodes the MultiPoint into a List of
Point
s.override -
flatten(
) → FeatureCollection - Flattens the MultiPoint into a FeatureCollection of Points. Properties of the MultiPoint are copied to the Points.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the MultiPoint to a GeoJSON Map.
override
-
toString(
) → String -
A string representation of this object.
override
-
toWKT(
) → String -
Converts the MultiPoint to a WKT String.
override
-
union(
MultiPoint other) → MultiPoint - Returns a MultiPoint that is the union of this MultiPoint and another MultiPoint. The resulting MultiPoint will have the same properties as this MultiPoint.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited