Class: themeFeature

L.supermap.themeFeature

客户端专题图要素类。 支持的 geometry 参数类型为 L.Point,L.LatLng,L.Polyline,L.Polygon

L.supermap.themeFeature(geometry, attributes)

leaflet/overlay/theme/ThemeFeature.js, line 13
Name Type Description
geometry L.Path | L.Point | L.LatLng

要素图形。

attributes Object

要素属性。

Extends

Methods

reverseLatLngs(latlngs)

leaflet/overlay/theme/ThemeFeature.js, line 56

坐标反转。

Name Type Description
latlngs L.Latlng

坐标值。

toFeature(){SuperMap.Feature.Vector}

leaflet/overlay/HeatMapLayer.js, line 32

转为内部矢量要素。

Returns:
Type Description
SuperMap.Feature.Vector 内部矢量要素。

toFeature(){SuperMap.Feature.Vector}

leaflet/overlay/theme/ThemeFeature.js, line 29

转为内部矢量要素。

Returns:
Type Description
SuperMap.Feature.Vector 内部矢量要素。