egovamap 0.31.7 → 0.31.9
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.
|
@@ -1101,7 +1101,8 @@ var EGovaGISMap = function (
|
|
|
1101
1101
|
colors,
|
|
1102
1102
|
layerName,
|
|
1103
1103
|
clickCallback,
|
|
1104
|
-
sizeScale
|
|
1104
|
+
sizeScale,
|
|
1105
|
+
options
|
|
1105
1106
|
) {
|
|
1106
1107
|
if (scene == null || infoJson.length == 0) return;
|
|
1107
1108
|
var cb = function (type, data) {
|
|
@@ -1115,7 +1116,8 @@ var EGovaGISMap = function (
|
|
|
1115
1116
|
colors,
|
|
1116
1117
|
layerName,
|
|
1117
1118
|
cb,
|
|
1118
|
-
sizeScale
|
|
1119
|
+
sizeScale,
|
|
1120
|
+
options
|
|
1119
1121
|
);
|
|
1120
1122
|
};
|
|
1121
1123
|
/* 显示实时案件分布 */
|
|
@@ -1125,10 +1127,10 @@ var EGovaGISMap = function (
|
|
|
1125
1127
|
that.callMap("showRecCurrentV2Distribution", infoJson, zoom, highLight);
|
|
1126
1128
|
};
|
|
1127
1129
|
|
|
1128
|
-
that.removeRecCurrentV2Layer = function () {
|
|
1130
|
+
that.removeRecCurrentV2Layer = function (layerName) {
|
|
1129
1131
|
if (scene == null) return;
|
|
1130
1132
|
|
|
1131
|
-
that.callMap("removeRecCurrentV2Layer");
|
|
1133
|
+
that.callMap("removeRecCurrentV2Layer", layerName);
|
|
1132
1134
|
};
|
|
1133
1135
|
|
|
1134
1136
|
/* 显示多个自定义图标 */
|
package/egovamap/egovamap.js
CHANGED
|
@@ -4580,7 +4580,8 @@ var EGovaMap = function (
|
|
|
4580
4580
|
colors,
|
|
4581
4581
|
layerName,
|
|
4582
4582
|
clickCallback,
|
|
4583
|
-
sizeScale
|
|
4583
|
+
sizeScale,
|
|
4584
|
+
options
|
|
4584
4585
|
) {
|
|
4585
4586
|
if (scene == null) return;
|
|
4586
4587
|
if (gisMap != null) {
|
|
@@ -4589,7 +4590,8 @@ var EGovaMap = function (
|
|
|
4589
4590
|
colors,
|
|
4590
4591
|
layerName,
|
|
4591
4592
|
clickCallback,
|
|
4592
|
-
sizeScale
|
|
4593
|
+
sizeScale,
|
|
4594
|
+
options
|
|
4593
4595
|
);
|
|
4594
4596
|
}
|
|
4595
4597
|
};
|
|
@@ -4598,10 +4600,10 @@ var EGovaMap = function (
|
|
|
4598
4600
|
* 删除荧光点图层
|
|
4599
4601
|
* @returns {void}
|
|
4600
4602
|
*/
|
|
4601
|
-
that.removeRecCurrentV2Layer = function () {
|
|
4603
|
+
that.removeRecCurrentV2Layer = function (layerName) {
|
|
4602
4604
|
if (scene == null) return;
|
|
4603
4605
|
if (gisMap != null) {
|
|
4604
|
-
gisMap.removeRecCurrentV2Layer();
|
|
4606
|
+
gisMap.removeRecCurrentV2Layer(layerName);
|
|
4605
4607
|
}
|
|
4606
4608
|
};
|
|
4607
4609
|
/*加载多轨迹*/
|