egovamap 0.31.8 → 0.31.10

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.
@@ -633,7 +633,7 @@ var egovaBI = function (globeMap, gisMap, mapType) {
633
633
  const layerName = queryParam.layerName;
634
634
  const keyField = null;
635
635
  const keyValue = null;
636
- const clearMap = queryParam.clearMap || true;
636
+ const clearMap = queryParam.clearMap;
637
637
  let inStyle = queryParam.style || {
638
638
  color: "blue",
639
639
  };
@@ -1127,10 +1127,10 @@ var EGovaGISMap = function (
1127
1127
  that.callMap("showRecCurrentV2Distribution", infoJson, zoom, highLight);
1128
1128
  };
1129
1129
 
1130
- that.removeRecCurrentV2Layer = function () {
1130
+ that.removeRecCurrentV2Layer = function (layerName) {
1131
1131
  if (scene == null) return;
1132
1132
 
1133
- that.callMap("removeRecCurrentV2Layer");
1133
+ that.callMap("removeRecCurrentV2Layer", layerName);
1134
1134
  };
1135
1135
 
1136
1136
  /* 显示多个自定义图标 */
@@ -4600,10 +4600,10 @@ var EGovaMap = function (
4600
4600
  * 删除荧光点图层
4601
4601
  * @returns {void}
4602
4602
  */
4603
- that.removeRecCurrentV2Layer = function () {
4603
+ that.removeRecCurrentV2Layer = function (layerName) {
4604
4604
  if (scene == null) return;
4605
4605
  if (gisMap != null) {
4606
- gisMap.removeRecCurrentV2Layer();
4606
+ gisMap.removeRecCurrentV2Layer(layerName);
4607
4607
  }
4608
4608
  };
4609
4609
  /*加载多轨迹*/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "egovamap",
3
- "version": "0.31.8",
3
+ "version": "0.31.10",
4
4
  "description": "eUrbanGIS SDK",
5
5
  "main": "index.js",
6
6
  "scripts": {