GeoJSONFeature class
The Feature represents a spatially bounded thing.
- Implemented types
Constructors
-
GeoJSONFeature(GeoJSONGeometry geometry, {Map<
String, dynamic> ? properties, dynamic id, String? title}) -
The constructor for the
geometry
member. - GeoJSONFeature.fromJSON(String source)
-
The constructor from JSON string
factory
-
GeoJSONFeature.fromMap(Map<
String, dynamic> map) -
The constructor from map
factory
Properties
-
bbox
→ List<
double> ? -
An optional bounding box bbox of the GeoJSON object.
no setteroverride
- geometry ↔ GeoJSONGeometry
-
A Feature object has a member with the name geometry. The value
of the geometry member SHALL be either a Geometry object as types:
Point, MultiPoint, LineString, MultiLineString, Polygon,
MultiPolygon, or GeometryCollection
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ dynamic
-
The id is a custom member commonly used as an identifier
getter/setter pair
-
properties
↔ Map<
String, dynamic> ? -
A Feature object has a member with the name properties. The
value of the properties member is an object (any JSON object or a
JSON null value).
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
The title is a custom member commonly used as foreign member
getter/setter pair
- type ↔ GeoJSONType
-
A Feature object has a type member with the value "Feature".
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