MapDownloaderService class Maps & 3D Scene

Map Downloader Service

Provides a service for downloading offline map tiles for one or multi-area requests.

Constructors

MapDownloaderService.new()
Creates a new MapDownloaderService instance.
factory

Properties

getMaxSquareKm int
Gets the maximum area size in square kilometers that can be downloaded. If the area size is greater than this value, startDownload will fail.
no setter
hashCode int
The hash code for this object.
no setterinherited
pointerId int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setMaxSquareKm int
Sets the maximum area size in square kilometers that can be downloaded. If the area size is greater than this value, startDownload will fail.
no getter
transferStatistics TransferStatistics
Gets data transfer statistics for this service.
no setter

Methods

cancelDownload() → void
Cancels a previously started download operation. This method is asynchronous; the operation will finish when the progress listener is notified.
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?
Downloads map tiles for the given area(s).
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited