GeoJSONMultiPoint class

A class representing a GeoJSON MultiPoint.

A MultiPoint object represents a set of points in coordinate space. The coordinates property of the MultiPoint object is an array of point coordinates, where each point coordinate is an array of length 2 (for 2D points).

Implemented types

Constructors

GeoJSONMultiPoint(List<List<double>> coordinates)
Constructs a GeoJSONMultiPoint from the provided list of coordinates.
GeoJSONMultiPoint.fromJSON(String source)
Constructs a GeoJSONMultiPoint from a JSON string.
factory
GeoJSONMultiPoint.fromMap(Map<String, dynamic> map)
Constructs a GeoJSONMultiPoint 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<double>>
The coordinates of this MultiPoint, represented as an array of point coordinates.
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