描述从 Web Map Service (WMS) 服务器请求 GetFeatureInfo 的格式。
| Name | Type | Description |
|---|---|---|
type |
string | 从 GetFeatureInfo 请求中期待的响应类型。有效 值为 'json'、'xml'、'html' 或 'text'。 |
format |
string | optional 从 WMS 服务器请求的信息格式。通常是一个 MIME 类型,例如 'application/json' 或 'text/xml'。如果未指定此参数,提供者将请求 'json' 使用 'application/json','xml' 使用 'text/xml','html' 使用 'text/html','text' 使用 'text/plain'。 |
callback |
function |
optional
用于处理来自 WMS 服务器的 GetFeatureInfo 响应的函数,
以生成一组已选择的 ImageryLayerFeatureInfo 实例。如果未指定此参数,
将使用默认函数处理响应类型。 |
