PowerGeoPolygon class
Represents a polygon geometry within a geographic feature.
- Inheritance
-
- Object
- PowerGeoFeature
- PowerGeoPolygon
Constructors
-
PowerGeoPolygon({Map<
String, dynamic> ? properties, List<double> ? bbox, String? title, dynamic id, required GeoJSONPolygon geometry}) - Creates a PowerGeoPolygon instance with the specified properties.
Properties
-
bbox
↔ List<
double> ? -
The bounding box of the feature.
getter/setter pairinherited
- geometry ↔ GeoJSONPolygon
-
The geographic polygon geometry.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- id ↔ dynamic
-
The unique identifier of the feature.
getter/setter pairinherited
-
properties
↔ Map<
String, Object?> ? -
The properties associated with the feature.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
The title of the feature.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String - Converts the PowerGeoPolygon instance to a JSON string.
-
toMap(
) → Map< String, dynamic> - Converts the PowerGeoPolygon instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant PowerGeoPolygon other) → bool -
The equality operator.
override