power_geojson library

Classes

FeatureCollectionProperties
Represents a set of properties for customizing the appearance of GeoJSON feature collections.
Flow
A class to represent Flow events.
MarkerProperties
Represents properties for a marker on a map.
NativeRuntime
Functionality available on the native runtime.
PolygonProperties
A class representing properties for rendering polygons on a map.
PolylineProperties
PowerEsriJSON
PowerEsriJsonTransform
PowerEsriJsonTransformer
PowerGeoFeature
Represents a feature in GeoJSON data, which can include geometry and associated properties.
PowerGeoJSONClipper
PowerGeoJSONFeatureCollection
Represents a collection of PowerGeoFeatures that can include points, linestrings, and polygons.
PowerGeoJSONFeatureCollections
A utility class for fetching and displaying GeoJSON feature collections as widgets.
PowerGeoJSONMarkers
A utility class for fetching and rendering markers from various sources.
PowerGeoJSONPolygons
A utility class for loading and displaying polygons on a map from various sources.
PowerGeoJSONPolylines
PowerGeoLineString
Represents a line string geometry within a geographic feature.
PowerGeoPoint
Represents a point geometry within a geographic feature.
PowerGeoPolygon
Represents a polygon geometry within a geographic feature.
PowerJSON
Service
Access information about the service protocol and control the web server that provides access to the services provided by the Dart VM for debugging and inspecting Dart programs.
ServiceExtensionResponse
A response to a service protocol extension RPC.
ServiceProtocolInfo
Service protocol is the protocol that a client like the Observatory could use to access the services provided by the Dart VM for debugging and inspecting Dart programs. This class encapsulates the version number and Uri for accessing this service.
Timeline
Add to the timeline.
TimelineTask
An asynchronous task on the timeline. An asynchronous task can have many (nested) synchronous operations. Synchronous operations can live longer than the current isolate event. To pass a TimelineTask to another isolate, you must first call pass to get the task id and then construct a new TimelineTask in the other isolate.
UserTag
A UserTag can be used to group samples in the DevTools CPU profiler.

Enums

LayerMarkerIndexes
An enumeration representing indexes for marker layer properties.
LayerPolygonIndexes
Enum defining indexes for polygon layer properties.
LayerPolylineIndexes

Extensions

HexColor on Color
LantLngX on List<List<double>>
An extension on lists of lists containing double values to provide a convenient method for converting them into a list of LatLng objects.
ListABC on List<T>
ListListLatLngX on List<List<List<double>>>
MarkerXX on List<double>
PointXList on List<double>
PolygonsXX on List<List<List<double>>>
PolylineXX on List<List<double>>
PolyX on Polygon
StringX on String
XListPoint on LatLng

Properties

extensionStreamHasListener bool
Whether the "Extension" stream currently has at least one listener.
no setter
reachabilityBarrier int
Current reachability barrier state.
no setter

Functions

checkEsri(String readasstring) String
debugger({bool when = true, String? message}) bool
If when is true, stop the program as if a breakpoint were hit at the following statement.
getCurrentTag() UserTag
Returns the current UserTag for the isolate.
getDocumentsDir() Future<Directory>
getExternalDir() Future<List<Directory>?>
inspect(Object? object) Object?
Send a reference to object to any attached debuggers.
log(String message, {DateTime? time, int? sequenceNumber, int level = 0, String name = '', Zone? zone, Object? error, StackTrace? stackTrace}) → void
Emit a log event.
postEvent(String eventKind, Map eventData, {String stream = 'Extension'}) → void
Post an event of eventKind with payload of eventData to the "Extension" event stream.
registerExtension(String method, ServiceExtensionHandler handler) → void
Register a ServiceExtensionHandler that will be invoked in this isolate for method. NOTE: Service protocol extensions must be registered in each isolate.
zoomTo(List<List<double>?> features, MapController? mapController) → void
Zooms the map view to fit the specified geographic features.

Typedefs

ServiceExtensionHandler = Future<ServiceExtensionResponse> Function(String method, Map<String, String> parameters)
A service protocol extension handler. Registered with registerExtension.
TimelineAsyncFunction = Future Function()
TimelineSyncFunction<T> = T Function()
A typedef for the function argument to Timeline.timeSync.