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

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

// Automatically generated - do not modify!

package cesium

/**
 * Provides geocoding through an external service. This type describes an interface and
 * is not intended to be used.
 * @see Online Documentation
 */
@JsName("\$cesium__GeocoderService")
external class GeocoderService {
    /**
     * @param [query] The query to be sent to the geocoder service
     * @param [type] The type of geocode to perform.
     *   Default value - [GeocodeType.SEARCH]
     * @see Online Documentation
     */
    fun geocode(
        query: String,
        type: GeocodeType? = definedExternally,
    ): kotlin.js.Promise>

    /**
     * @property [displayName] The display name for a location
     * @property [destination] The bounding box for a location
     * @see Online Documentation
     */
    interface Result {
        var displayName: String
        var destination: dynamic
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy