南昌市物联网技防平台-前端
zengh
2021-04-10 84d25c837f3e4cac9834226bb0ae109073bd3764
样式调整
1 files modified
3 ■■■■■ changed files
public/map/widgets/supervisoryMap/FlareClusterLayer_v3.js 3 ●●●●● patch | view | raw | blame | history
public/map/widgets/supervisoryMap/FlareClusterLayer_v3.js
@@ -215,7 +215,6 @@
        //this.map.infoWindow.anchor = anchor;
        this.map.infoWindow.cluster = this.activeCluster;
        //reset the geometry of the flare feature in the info window to be the actual location of the flared object, not the location of the flare graphic.
        var p = webMercatorUtils.geographicToWebMercator(new Point(flareObject.singleData[this.xPropertyName], flareObject.singleData[this.yPropertyName], this.spatialRef));
        this.map.infoWindow.features[0].geometry = p;
@@ -260,7 +259,6 @@
      }
      this.allData.push(obj);
      var xVal = obj[this.xPropertyName];
      var yVal = obj[this.yPropertyName];
@@ -609,7 +607,6 @@
    },
    _createClusterGrid: function (webExtent) {
      //get the total amount of grid spaces based on the height and width of the map (divide it by clusterRatio) - then get the degrees for x and y
      var xCount = Math.round(this.map.width / this.clusterRatio);
      var yCount = Math.round(this.map.height / this.clusterRatio);