Skip to content

Commit 9ef233e

Browse files
committed
[fix]ICL-1426 热力图HeatMapLayer设置颜色参数描述错误 review by songym
1 parent 3dff0a8 commit 9ef233e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/leaflet/overlay/HeatMapLayer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export var heatMapFeature = function (geometry, attributes) {
7272
* @param {string} [options.featureWeight] - 对应 feature 属性中的热点权重字段名称,权重值类型为 number。
7373
* @param {number} [options.radius=50] - 热点渲染的最大半径(热点像素半径),单位为 px,当 useGeoUnit 参数 为 true 时,单位使用当前图层地理坐标单位。热点显示的时候以精确点为中心点开始往四周辐射衰减,其衰减半径和权重值成比列。
7474
* @param {number} [options.opacity=1] - 图层透明度。
75-
* @param {Array.<string>} [colors=['blue', 'cyan', 'lime', 'yellow', 'red']] - 颜色线性渐变数组,颜色值必须为 canvas 所支持的。
75+
* @param {Array.<string>} [options.colors=['blue', 'cyan', 'lime', 'yellow', 'red']] - 颜色线性渐变数组,颜色值必须为 canvas 所支持的。
7676
* @param {boolean} [options.useGeoUnit=false] - 使用地理单位,即默认热点半径默认使用像素单位。 当设置为 true 时,热点半径和图层地理坐标保持一致。
7777
* @param {number} [options.blur] - 模糊量,单位为 px。默认值为半径的二分之一。
7878
* @param {string} [options.attribution='Map Data <span>© <a href='http://support.supermap.com.cn/product/iServer.aspx' title='SuperMap iServer' target='_blank'>SuperMap iServer</a></span>'] - 版权信息。

0 commit comments

Comments
 (0)