PolygonPrefetcher class abstract
Supports downloading of map data - in advance - into the cache to optimize temporary offline use cases that rely on cached map data.
Please note, this class puts data in the map cache, which has its own size constraints, and extensive usage may start evicting old cached data. Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.
Constructors
- PolygonPrefetcher(SDKNativeEngine sdkEngine)
-
Creates a PolygonPrefetcher instance for a given SDKNativeEngine.
factory
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
-
estimateMapDataSize(
GeoPolygon geoPolygon, MapDataSizeListener callback) → TaskHandle - Estimates map data size for the area bounded by geo polygon.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prefetch(
GeoPolygon geoPolygon, PrefetchStatusListener callback) → TaskHandle - Prefetches map data for an area bounded by geo polygon.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited