Преглед на файлове

add custom style

tags/3.0.0
Caven Chen преди 2 години
родител
ревизия
e22ae3e4f7
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2
    0
      modules/layer/type/ClusterLayer.js

+ 2
- 0
modules/layer/type/ClusterLayer.js Целия файл

@@ -147,6 +147,8 @@ class ClusterLayer extends Layer {
this._options.gradient[key],
numLength
)
} else if (this._options.style === 'custom') {
cluster.billboard.image = this._options.gradient[key]
} else {
cluster.billboard.image = this._drawClustering(
this._options.gradient[key],

Loading…
Отказ
Запис