MapServiceImpl

Functions

Link copied to clipboard
open override fun getArcGisLocationProvider(): LocationDataSource

Retrieves the ArcGIS location provider used by the MapService.

Link copied to clipboard
open suspend override fun getFeatures(layerList: LayerList): List<Feature>
open override fun getFeatures(layerList: LayerList, completionCallback: CompletionCallback<List<Feature>>)

Retrieves a list of features from the given layer list asynchronously.

Link copied to clipboard
open suspend override fun getLastKnownLocation(): Coordinates
open override fun getLastKnownLocation(completionCallback: CompletionCallback<Coordinates>)

Retrieves the last known location asynchronously.

Link copied to clipboard
open override fun getMap(venue: Venue, offlineMode: Boolean, completionCallback: CompletionCallback<String>)
open suspend override fun getMap(venue: Venue, offlineMode: Boolean, license: String?): String

Retrieves a map for the specified venue asynchronously.

open override fun getMap(venue: Venue, offlineMode: Boolean, license: String?, onComplete: (String) -> Unit, onProgress: (Int, Int, Int) -> Unit, onError: (Throwable) -> Unit)

Retrieves a map for the specified venue asynchronously with progress and error callbacks.

Link copied to clipboard
open override fun getScene(venue: Venue, offlineMode: Boolean, completionCallback: CompletionCallback<String>)
open suspend override fun getScene(venue: Venue, offlineMode: Boolean, license: String?): String

Retrieves a scene for the specified venue asynchronously.

open override fun getScene(venue: Venue, offlineMode: Boolean, license: String?, onComplete: (String) -> Unit, onProgress: (Int, Int, Int) -> Unit, onError: (Throwable) -> Unit)

Retrieves a scene for the specified venue asynchronously with progress and error callbacks.

Link copied to clipboard
open suspend override fun <T> searchFeatures(layerList: LayerList, type: Class<T>): List<Feature>
open override fun <T> searchFeatures(layerList: LayerList, type: Class<T>, completionCallback: CompletionCallback<List<Feature>>)

Searches for features of a specific type in the given layer list asynchronously.

open suspend override fun searchFeatures(layerList: LayerList, keyword: String, locatorTask: LocatorTask): List<Feature>
open override fun searchFeatures(layerList: LayerList, keyword: String, locatorTask: LocatorTask, completionCallback: CompletionCallback<List<Feature>>)

Searches for features in the given layer list using a keyword and locator task asynchronously.