PowerGeoJSONFeatureCollections<T extends Object> class
A utility class for fetching and displaying GeoJSON feature collections as widgets.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
asset<
T extends Object> (String url, {required FeatureCollectionProperties< T> featureCollectionProperties, bool polygonCulling = false, MapController? mapController, required Widget builder(FeatureCollectionProperties<T> featureCollectionProperties, Map<String, dynamic> ? map), Key? key, PowerMarkerClusterOptions? powerClusterOptions}) → Widget - Loads and displays GeoJSON feature collections from an asset file as a Widget.
-
file<
T extends Object> (String path, {required FeatureCollectionProperties< T> featureCollectionProperties, bool polygonCulling = false, MapController? mapController, Key? key, Future<String> fileLoadBuilder(String)?, required Widget builder(FeatureCollectionProperties<T> featureCollectionProperties, Map<String, dynamic> ? map), PowerMarkerClusterOptions? powerClusterOptions}) → Widget - Loads and displays GeoJSON feature collections from a local file as a Widget.
-
memory<
T extends Object> (Uint8List bytes, {required FeatureCollectionProperties< T> featureCollectionLayerProperties, MapController? mapController, Key? key, bool polygonCulling = false, required Widget builder(FeatureCollectionProperties<T> featureCollectionProperties, Map<String, dynamic> ? map), PowerMarkerClusterOptions? powerClusterOptions}) → Widget - Loads and displays GeoJSON feature collections from memory as a Widget.
-
network<
T extends Object> (String url, {Client? client, Map< String, String> ? headers, required Widget builder(FeatureCollectionProperties<T> featureCollectionProperties, Map<String, dynamic> ? map), required FeatureCollectionProperties<T> featureCollectionProperties, bool polygonCulling = false, MapController? mapController, Future<String> networkLoadBuilder(Client? client, Uri uri, Map<String, String> ? map)?, Key? key, PowerMarkerClusterOptions? powerClusterOptions}) → Widget - Fetches GeoJSON feature collections from a network source and returns a Widget to display them.
-
string<
T extends Object> (String data, {required FeatureCollectionProperties< T> featureCollectionProperties, bool polygonCulling = false, MapController? mapController, Key? key, PowerMarkerClusterOptions? powerClusterOptions, required Widget builder(FeatureCollectionProperties<T> featureCollectionProperties, Map<String, dynamic> ? properties)}) → Widget - Parses and displays GeoJSON feature collections from a string as a Widget.