new Cesium.ImageryLayerFeatureInfo()

描述一个图像层中的光栅化特征,如点,多边形,多线等.

Members

data : object|undefined

获取或设置描述该特性的原始数据. 原始数据可能在任何 格式数量, 如 GeoJSON, KML 等.

description : string|undefined

Gets or sets an HTML description of the feature. The HTML is not trusted and should 在向用户显示前先进行消毒.

imageryLayer : object|undefined

获取或设置特性的图像层.

name : string|undefined

获取或设置特性的名称 .

position : Cartographic|undefined

获取或设置该特性的位置,或者如果该位置未知则未定义.

Methods

configureDescriptionFromProperties(properties)

Configures the description of this feature by creating an HTML table of properties and their values.
Name Type Description
properties object 包含特性的天体文字.

configureNameFromProperties(properties)

通过选择适当的属性来配置此特性的名称。 名字将从 以下来源之一,按此顺序:1)名为"名字"的财产,2)名为"标题"的财产, 3),包含"姓名"一词的首个财产,4),包含"标题"一词的首个财产. 若为 名称无法从其中任何来源获取,现有名称将保持不变.
Name Type Description
properties object 包含特性的天体文字.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.