PowerGeoFeature class abstract

Represents a feature in GeoJSON data, which can include geometry and associated properties.

Implementers

Constructors

PowerGeoFeature({Map<String, Object?>? properties, List<double>? bbox, String? title, required dynamic id})
Creates a PowerGeoFeature instance with the provided properties.

Properties

bbox List<double>?
The bounding box of the feature.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
id ↔ dynamic
The unique identifier of the feature.
getter/setter pair
properties Map<String, Object?>?
The properties associated with the feature.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String?
The title of the feature.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(covariant PowerGeoFeature other) bool
The equality operator.
override

Static Methods

parseFeature(GeoJSONFeature feature) List<PowerGeoFeature>
Parses a GeoJSON feature and returns a list of PowerGeoFeature instances.
parseGeometry(GeoJSONGeometry geometry, {Map<String, dynamic>? properties, List<double>? bbox, String? title, dynamic id}) List<PowerGeoFeature>
Parses a GeoJSON geometry and returns a list of PowerGeoFeature instances.