GetFeatureInfoFormat

new Cesium.GetFeatureInfoFormat(type, format, callback)

描述从Web Map Service(WMS)服务器请求GetFeatureInfo的格式。
Name Type Description
type String GetFeatureInfo请求中期望的响应类型。有效值是'json','xml','html'或'text'。
format String optional 要从WMS服务器请求的信息格式。通常MIME类型,例如'application/json'或text/xml'。
callback function optional 从WMS服务器使用GetFeatureInfo响应调用的函数为了生成一个精选的 ImageryLayerFeatureInfo 实例的数组。