main.cesium.GetFeatureInfoFormat.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* Describes the format in which to request GetFeatureInfo from a Web Map Service (WMS) server.
* @see Online Documentation
*
* @constructor
* @param [type] The type of response to expect from a GetFeatureInfo request. Valid
* values are 'json', 'xml', 'html', or 'text'.
* @param [format] The info format to request from the WMS server. This is usually a
* MIME type such as 'application/json' or text/xml'. If this parameter is not specified, the provider will request 'json'
* using 'application/json', 'xml' using 'text/xml', 'html' using 'text/html', and 'text' using 'text/plain'.
* @param [callback] A function to invoke with the GetFeatureInfo response from the WMS server
* in order to produce an array of picked [ImageryLayerFeatureInfo] instances. If this parameter is not specified,
* a default function for the type of response is used.
* @see Online Documentation
*/
external class GetFeatureInfoFormat(
type: String,
format: String? = definedExternally,
callback: Function<*>? = definedExternally,
)