Class: HeatMapFeature

HeatMapFeature

客户端热力图要素类。 支持的 geometry 参数类型为 L.Point 点对象、L.LatLng 经纬度点坐标对象、L.CircleMarker 圆形符号对象等。

new HeatMapFeature(geometry, attributes)

Usage
import { HeatMapFeature } from '@supermapgis/iclient-leaflet';

new HeatMapFeature(geometry, attributes);
<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
  new L.supermap.HeatMapFeature({paramsNames});
  // 弃用的写法

  L.supermap.heatMapFeature(geometry, attributes);
</script>
leaflet/overlay/HeatMapLayer.js, line 14
Name Type Description
geometry L.Point | L.LatLng | L.CircleMarker

要素图形。

attributes Object

要素属性。

API Relations

As method parameter: HeatMapLayer.addFeatures , HeatMapLayer.toiClientFeature.

Extends

HeatMapFeature -> L.Class

Methods

toFeature(){FeatureVector}

leaflet/overlay/HeatMapLayer.js, line 32

转为内部矢量要素。

Returns:
Type Description
FeatureVector 内部矢量要素。