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 内部矢量要素。