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.

API Relations

As method parameter: L.supermap.GeoFeatureThemeLayer.addFeatures , L.supermap.GeoFeatureThemeLayer.toFeature , L.supermap.GeoFeatureThemeLayer.toiClientFeature , L.supermap.GraphThemeLayer.addFeatures , L.supermap.graphThemeLayer.addFeatures , L.supermap.graphThemeLayer.toFeature , L.supermap.graphThemeLayer.toiClientFeature , L.supermap.labelThemeLayer.addFeatures , L.supermap.labelThemeLayer.toFeature , L.supermap.labelThemeLayer.toiClientFeature , L.supermap.rangeThemeLayer.addFeatures , L.supermap.rangeThemeLayer.toFeature , L.supermap.rangeThemeLayer.toiClientFeature , L.supermap.rankSymbolThemeLayer.addFeatures , L.supermap.ThemeLayer.addFeatures , L.supermap.ThemeLayer.toFeature , L.supermap.ThemeLayer.toiClientFeature , L.supermap.uniqueThemeLayer.addFeatures , L.supermap.uniqueThemeLayer.toFeature , L.supermap.uniqueThemeLayer.toiClientFeature.

Extends

themeFeature -> L.Class

Methods

reverseLatLngs(latlngs)

ThemeFeature.js, line 56

Coordinate transformation.

Name Type Description
latlngs L.Latlng

Coordinate value.

toFeature(){L.supermap.Feature.Vector}

ThemeFeature.js, line 21

Convert to the internal vector feature.

Returns:
Type Description
L.supermap.Feature.Vector The internal vector feature.

toFeature(){L.supermap.Feature.Vector}

ThemeFeature.js, line 21

Convert to the internal vector feature.

Returns:
Type Description
L.supermap.Feature.Vector The internal vector feature.