egovamap 0.17.21 → 0.17.24

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.
@@ -607,7 +607,7 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
607
607
  that.getMultiPointBuffer = function(points, radius){
608
608
  if (scene == null)
609
609
  return;
610
- scene.fire((msgPrefix + ":getMultiPointBuffer"), {args: args}, parentScene, true);
610
+ scene.fire((msgPrefix + ":getMultiPointBuffer"), {args: [points, radius]}, parentScene, true);
611
611
 
612
612
  }
613
613
  /**
@@ -620,7 +620,7 @@ var EGovaGISMap = function ($container, pScene, prefix, gisParams, mapConfig,con
620
620
  that.setGraphicStyle = function(id, tag, style){
621
621
  if (scene == null)
622
622
  return;
623
- scene.fire((msgPrefix + ":setGraphicStyle"), {args: args}, parentScene, true);
623
+ scene.fire((msgPrefix + ":setGraphicStyle"), {args: [id, tag, style]}, parentScene, true);
624
624
  }
625
625
  /* 显示监督员责任网格 */
626
626
  that.showPatrolDutygridCells = function(infoJson, zoom, clickCallback) {
@@ -1839,14 +1839,14 @@ var EGovaMap = function (containerID, callback, mapConfig, mapType, mapParam, co
1839
1839
  if (scene == null)
1840
1840
  return;
1841
1841
  if (gisMap != null)
1842
- gismap.getMultiPointBuffer(this, arguments);
1842
+ gisMap.getMultiPointBuffer.apply(this, arguments);
1843
1843
  }
1844
1844
  that.setGraphicStyle = function(id, tag, style){
1845
1845
  if (scene == null){
1846
1846
  return;
1847
1847
  }
1848
1848
  if(gisMap!=null){
1849
- gisMap.setGraphicStyle(this, arguments);
1849
+ gisMap.setGraphicStyle.apply(this, arguments);
1850
1850
  }
1851
1851
  }
1852
1852
  /* 显示监督员责任网格 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.17.21",
3
+ "version": "0.17.24",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {