Sfoglia il codice sorgente

upgrade the ClusterLayer.js

tags/4.0.0
Caven Chen 1 anno fa
parent
commit
c583a92b38
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3
    0
      src/modules/layer/type/ClusterLayer.js

+ 3
- 0
src/modules/layer/type/ClusterLayer.js Vedi File

this._billboards.removeAll() this._billboards.removeAll()
this._labels.removeAll() this._labels.removeAll()
let rectangle = this._viewer.camera.computeViewRectangle() let rectangle = this._viewer.camera.computeViewRectangle()
if (!rectangle) {
rectangle = this._viewer.viewBounds
}
if (this._allCount) { if (this._allCount) {
let result = this._cluster.getClusters( let result = this._cluster.getClusters(
[ [

Loading…
Annulla
Salva