Class: Feature

mapboxgl.supermap.Feature

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

new mapboxgl.supermapFeature(layer, lonlat, data)

Feature.js, line 4
Name Type Description
layer mapboxgl.supermapLayer

The layer.

lonlat mapboxgl.supermapLonLat

The longitude and latitude.

data Object

The data object.

Classes

ShapeFactory
ShapeParameters
Theme
Vector

Members

dataObject

The data object.

idstring

The feature id.

deprecated layermapboxgl.supermapLayer

The layer.

The longitude and latitude.

Methods

destroy()

Feature.js, line 45

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