create

fun create(context: Context, apiKey: String, ndsStore: NdsStore, customApiUrl: URL? = null): ReverseGeocoder

Creates an instance of HybridReverseGeocoder.

The OnlineReverseGeocoder and OfflineReverseGeocoder implementations are run in parallel. The method returns the result from the OnlineReverseGeocoder implementation if it succeeds, otherwise, the result from the OfflineReverseGeocoder implementation is returned.

The geopolitical view applied to OnlineReverseGeocoder is the same as that used in ndsStore.

Important: This is a Public Preview API. It may be changed or removed at any time.

Return

An instance of HybridReverseGeocoder.

Parameters

context

Information about an application environment.

apiKey

API key for the online reverse geocoder.

ndsStore

Onboard map handle.

customApiUrl

Custom base URL for reverse geocoding API calls.