OfflineManager class final
The OfflineManager provides a configuration interface and entrypoint for offline map functionality.
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
-
allStylePacks(
) → Future< List< StylePack> > - Fetch an array of the existing style packages.
-
loadStylePack(
String styleURI, StylePackLoadOptions loadOptions, OnStylePackLoadProgressListener? progressListener) → Future< StylePack> - Loads a new style package or updates the existing one.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeStylePack(
String styleURI) → Future< StylePack> - Removes a style package.
-
stylePack(
String styleURI) → Future< StylePack> - Returns a style package by its id.
-
stylePackMetadata(
String styleURI) → Future< Map< String, Object> > - Returns a style package's associated metadata.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
) → Future< OfflineManager> - Creates a new instance of OfflineManager.