GeoJSONMultiLineString class

This class represents the geometry type MultiLineString according to the GeoJSON specification.

A MultiLineString is composed of an array of LineString coordinate arrays.

Implemented types

Constructors

GeoJSONMultiLineString(List<List<List<double>>> coordinates)
Creates a new GeoJSONMultiLineString object with the given coordinates.
GeoJSONMultiLineString.fromJSON(String source)
Creates a new GeoJSONMultiLineString object from a JSON string.
factory
GeoJSONMultiLineString.fromMap(Map<String, dynamic> map)
Creates a new GeoJSONMultiLineString object 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<double>>>
The 'coordinates' member must be an array of LineString coordinate arrays.
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