Class: ImageryLayerFeatureInfo

ImageryLayerFeatureInfo

new ImageryLayerFeatureInfo()

Describe the rasterization features in image layers, such as points, polygons, polylines, etc.

Members

dataObject

Retrieve or set the raw data describing the terrain features. The raw data can be in any format, such as GeoJSON, KML, etc.

descriptionString

Retrieve or set the HTML description of the feature. HTML is not trusted and should be cleaned up before being displayed to users.

imageryLayerObject

Obtain or set the image layer of the terrain feature.

nameString

Get or set the name of the feature.

positionCartographic

Obtain or set the location of land features; If the location is unknown, it is undefined.

Methods

configureDescriptionFromProperties(properties)

Configure the description of this feature by creating an HTML table containing attributes and their values.

Name Type Description
properties Object

Object literal containing characteristic attributes.

configureNameFromProperties(properties)

Configure the name of this feature by selecting appropriate attributes. The name will be obtained from one of the following sources in the following order: 1) the attribute named "name", 2) the attribute named "title", 3) the first attribute containing "name", 4) the first attribute containing "title". If the name cannot be obtained from any of the above sources, the existing name will remain unchanged.

Name Type Description
properties Object

Object literal containing characteristic attributes.