Class: Feature

L.supermap.Feature

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

new L.supermap.Feature(layer, lonlat, data)

Feature.js, line 4
Name Type Description
layer L.supermap.Layer

The layer.

lonlat L.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.

deprecated layerL.supermap.Layer

The layer.

The longitude and latitude.

Methods

destroy()

Feature.js, line 45

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