GeoJsonFeatureGeometry class
The geometry of a GeoJsonFeature.
Includes its type and List of List of ORSCoordinate, coordinates.
Constructors
-
GeoJsonFeatureGeometry({required String type, required List<
List< coordinates, required GsonFeatureGeometryCoordinatesType internalType})ORSCoordinate> > -
const
-
GeoJsonFeatureGeometry.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
coordinates
→ List<
List< ORSCoordinate> > -
Coordinates associated with the feature geometry.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- internalType → GsonFeatureGeometryCoordinatesType
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
The type of the feature geometry.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the GeoJsonFeatureGeometry to a Map with keys 'type' and 'coordinates'.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited