Appearance
KBE3D / KBCore / Cesium / ImageryLayerFeatureInfo
类: ImageryLayerFeatureInfo
Describes a rasterized feature, such as a point, polygon, polyline, etc., in an imagery layer.
属性
name
name:
string|undefined
Gets or sets the name of the feature.
description
description:
string|undefined
Gets or sets an HTML description of the feature. The HTML is not trusted and should be sanitized before display to the user.
position
position:
Cartographic|undefined
Gets or sets the position of the feature, or undefined if the position is not known.
data
data:
any
Gets or sets the raw data describing the feature. The raw data may be in any number of formats, such as GeoJSON, KML, etc.
imageryLayer
imageryLayer:
any
Gets or sets the image layer of the feature.
方法
configureNameFromProperties()
configureNameFromProperties(
properties:any):void
Configures the name of this feature by selecting an appropriate property. The name will be obtained from one of the following sources, in this order: 1) the property with the name 'name', 2) the property with the name 'title', 3) the first property containing the word 'name', 4) the first property containing the word 'title'. If the name cannot be obtained from any of these sources, the existing name will be left unchanged.
参数
properties
any
An object literal containing the properties of the feature.
返回
void
configureDescriptionFromProperties()
configureDescriptionFromProperties(
properties:any):void
Configures the description of this feature by creating an HTML table of properties and their values.
参数
properties
any
An object literal containing the properties of the feature.
返回
void
构造函数
构造函数
new ImageryLayerFeatureInfo():
ImageryLayerFeatureInfo
返回
ImageryLayerFeatureInfo
