Class: themeFeature

L.supermap.themeFeature

The themetic feature class. The type of geometry parameters that it supports can be the L.Point, L.LatLng, L.Polyline, L.Polygon.

L.supermap.themeFeature(geometry, attributes)

ThemeFeature.js, line 5
Name Type Description
geometry L.Path | L.Point | L.LatLng

eometric objects of thematic map feature.

attributes Object

The attributes of feature.

Extends

Methods

reverseLatLngs(latlngs)

ThemeFeature.js, line 56

Coordinate transformation.

Name Type Description
latlngs L.Latlng

Coordinate value.

toFeature(){SuperMap.Feature.Vector}

ThemeFeature.js, line 21

Convert to the internal vector feature.

Returns:
Type Description
SuperMap.Feature.Vector The internal vector feature.

toFeature(){SuperMap.Feature.Vector}

ThemeFeature.js, line 21

Convert to the internal vector feature.

Returns:
Type Description
SuperMap.Feature.Vector The internal vector feature.