All Downloads are FREE. Search and download functionalities are using the official Maven repository.

main.cesium.BingMapsGeocoderService.kt Maven / Gradle / Ivy

// Automatically generated - do not modify!

@file:Suppress(
    "NON_EXTERNAL_DECLARATION_IN_INAPPROPRIATE_FILE",
)

package cesium

/**
 * Provides geocoding through Bing Maps.
 * @see Online Documentation
 */
@JsName("\$cesium__BingMapsGeocoderService")
external class BingMapsGeocoderService(options: ConstructorOptions) {
    /**
     * @property [key] A key to use with the Bing Maps geocoding service
     * @property [culture] A Bing Maps [Culture Code](https://docs.microsoft.com/en-us/bingmaps/rest-services/common-parameters-and-types/supported-culture-codes) to return results in a specific culture and language.
     */
    interface ConstructorOptions {
        var key: String
        var culture: String?
    }

    /**
     * The URL endpoint for the Bing geocoder service
     * @see Online Documentation
     */
    val url: String

    /**
     * The key for the Bing geocoder service
     * @see Online Documentation
     */
    val key: String

    /**
     * @param [query] The query to be sent to the geocoder service
     * @see Online Documentation
     */
    fun geocode(query: String): kotlin.js.Promise>
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy