Class: ThemeFeature

mapboxgl.supermap.ThemeFeature

The themetic feature class.

new mapboxgl.supermap.ThemeFeature(geometry, attributes)

ThemeFeature.js, line 6
Name Type Description
geometry Object

Geometric objects of thematic map feature. Format: geojson.

attributes Object optional

Attributes of geometric objects.

Methods

toFeature()

ThemeFeature.js, line 20

Convert to the vector feature.