egovamap 0.33.19 → 0.33.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -225,6 +225,7 @@ var egovaBI = function (globeMap, gisMap, mapType) {
225
225
  clusterType: options.clusterStyle.clusterType,
226
226
  distance: options.clusterStyle.clusterDistance,
227
227
  style: null,
228
+ critical:options.clusterStyle.clusterDistance || 10,
228
229
  level: options.clusterStyle.level,
229
230
  clickShowSpiralPoint: options.clusterStyle.clickShowSpiralPoint,
230
231
  labelStyle: {
@@ -477,6 +478,7 @@ var egovaBI = function (globeMap, gisMap, mapType) {
477
478
  function showParts(data) {
478
479
  var drawParam = options.drawParam || {};
479
480
  var ctrOption = drawParam.clusterOption;
481
+ var zoom = options.zoom === undefined ? true : !!options.zoom;
480
482
  var clusterOption = null;
481
483
  if(ctrOption){
482
484
  clusterOption = {
@@ -509,7 +511,7 @@ var egovaBI = function (globeMap, gisMap, mapType) {
509
511
  }
510
512
  var param = [
511
513
  data,
512
- true,
514
+ zoom,
513
515
  false,
514
516
  null,
515
517
  null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.33.19",
3
+ "version": "0.33.21",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {