Class: Feature

ol.supermap.Feature

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

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

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

The layer.

lonlat ol.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 layerol.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.