MapDownloaderService class Maps & 3D Scene
Provides services for downloading map data and managing download operations.
Constructors
- MapDownloaderService.new()
-
Creates a new MapDownloaderService instance.
factory
- MapDownloaderService.init(int id)
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