GeoJsonFeatureCollection class

Implementers

Constructors

GeoJsonFeatureCollection({required List<ORSCoordinate> bbox, required List<GeoJsonFeature> features})
const
GeoJsonFeatureCollection.fromJson(Map<String, dynamic> json)
Generate a GeoJsonFeatureCollection from a received Map having keys 'bbox' and 'features'.
factory

Properties

bbox List<ORSCoordinate>
The bounding box of the requested feature collection's area. Should have 2 coordinates.
final
features List<GeoJsonFeature>
The list of features of the requested feature collection.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts the GeoJsonFeatureCollection to a Map with keys 'type', 'bbox' and 'features'.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited