GeocoderService

open 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
external object Companion
Link copied to clipboard
external interface Result

Properties

Link copied to clipboard
external val credit: Credit?

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 external fun geocode(query: String, type: GeocodeType? = definedExternally): ReadonlyArray<GeocoderService.Result>
Link copied to clipboard
external fun geocodeAsync(query: String, type: GeocodeType? = definedExternally): Promise<ReadonlyArray<GeocoderService.Result>>