GeoJsonFeatureProperties class

Properties of a GeoJsonFeature.

Has a variety of feature properties data, all optional, with no set schema.

Constructors

GeoJsonFeatureProperties({int? groupIndex, double? value, Coordinate? center, int? osmId, int? osmType, double? distance, Map<String, dynamic>? categoryIds, Map<String, dynamic>? osmTags})
const
GeoJsonFeatureProperties.fromJson(Map<String, dynamic> json)

Properties

categoryIds Map<String, dynamic>?
The category ids of the feature.
final
center Coordinate?
The center Coordinate of the feature.
final
distance double?
The distance to the feature.
final
groupIndex int?
The index of the group of the feature.
final
hashCode int
The hash code for this object.
no setterinherited
osmId int?
The OSM id of the feature.
final
osmTags Map<String, dynamic>?
The OSM tags of the feature.
final
osmType int?
The OSM type of the feature.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value double?
The value of the feature.
final

Methods

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

Operators

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