GeocoderService

external class GeocoderService(source)

Provides geocoding through an external service. This type describes an interface and is not intended to be used.

See also

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion
Link copied to clipboard
sealed interface Result

Properties

Link copied to clipboard

Gets the credit to display after a geocode is performed. Typically this is used to credit the geocoder service.

Functions

Link copied to clipboard
suspend fun geocode(query: String, type: GeocodeType? = definedExternally): ReadonlyArray<GeocoderService.Result>
Link copied to clipboard
fun geocodeAsync(query: String, type: GeocodeType? = definedExternally): Promise<ReadonlyArray<GeocoderService.Result>>