Class: Feature

SuperMap.Feature

The Feature class combines the geography and attributes. Feature class possesses the marker and lonlat properties.

new SuperMap.Feature(layer, lonlat, data)

Feature.js, line 4
Name Type Description
layer SuperMap.Layer

The layer.

lonlat SuperMap.LonLat

The longitude and latitude.

data Object

The data object.

Classes

ShapeFactory
ShapeParameters
Theme
Vector

Members

dataObject

The data object.

idstring

The feature id.

The layer.

Deprecated
  • Yes

The longitude and latitude.

Methods

destroy()

Feature.js, line 45

Disposes the resource. The property that references resource is set to null.