egovamap 0.33.38 → 0.33.39
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.
|
@@ -1441,7 +1441,11 @@ var EGovaGISMap = function (
|
|
|
1441
1441
|
colorseparoptions
|
|
1442
1442
|
);
|
|
1443
1443
|
};
|
|
1444
|
-
|
|
1444
|
+
/* 添加wms图层 */
|
|
1445
|
+
that.addWMSLayer = function (url, id, option) {
|
|
1446
|
+
if (scene == null) return;
|
|
1447
|
+
that.callMap("addWMSLayer", id, url, option);
|
|
1448
|
+
};
|
|
1445
1449
|
/* 刷新图层目录树中图层 */
|
|
1446
1450
|
that.refreshMapLayers = function () {
|
|
1447
1451
|
if (scene == null) return;
|