MapDownloaderService class Maps & 3D Scenes
Service for downloading offline map tiles for one or more geographic areas.
Use this service to initiate downloads of map tiles for offline viewing. Manage the downloaded map data and monitor transfer statistics.
This service does not manage map data storage. Downloaded tiles cannot be used for search, navigation or routing. See the ContentStore for managing offline map data.
Constructors
- MapDownloaderService.new()
-
Creates a new MapDownloaderService instance.
factory
Properties
- getMaxSquareKm → int
-
Returns the maximum area size (in square kilometers) allowed for downloads.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- setMaxSquareKm ← int
-
Sets the maximum area size (in square kilometers) allowed for downloads.
no getter
- transferStatistics → TransferStatistics
-
Returns transfer statistics for data exchanged by this service.
no setter
Methods
-
cancelDownload(
) → void - Cancels an ongoing download operation.
-
dispose(
) → void -
Disposes the native object.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
startDownload(
List< RectangleGeographicArea> areas, void onComplete(GemError err)) → ProgressListener? - Starts downloading map tiles for the specified geographic area(s).
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited