egovamap 0.29.1 → 0.29.3
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.
- package/egovamap/egovagisviewer.js +9 -0
- package/egovamap/egovamap.js +19 -0
- package/package.json +1 -1
|
@@ -2733,6 +2733,15 @@ var EGovaGISMap = function (
|
|
|
2733
2733
|
that.callMap("identifyTreeLayer", options, callback)
|
|
2734
2734
|
}
|
|
2735
2735
|
|
|
2736
|
+
// 关闭点选拾取
|
|
2737
|
+
that.closePointSelect = function () {
|
|
2738
|
+
that.callMap("closePointSelect");
|
|
2739
|
+
}
|
|
2740
|
+
|
|
2741
|
+
that.coordConvert = function (type, x, y, callback) {
|
|
2742
|
+
that.callMap("coordConvert", type, x, y, callback);
|
|
2743
|
+
}
|
|
2744
|
+
|
|
2736
2745
|
that.init();
|
|
2737
2746
|
};
|
|
2738
2747
|
|
package/egovamap/egovamap.js
CHANGED
|
@@ -5203,6 +5203,25 @@ var EGovaMap = function (
|
|
|
5203
5203
|
}
|
|
5204
5204
|
}
|
|
5205
5205
|
|
|
5206
|
+
that.closePointSelect = function () {
|
|
5207
|
+
if (scene == null) {
|
|
5208
|
+
return;
|
|
5209
|
+
}
|
|
5210
|
+
if (gisMap != null) {
|
|
5211
|
+
gisMap.closePointSelect();
|
|
5212
|
+
}
|
|
5213
|
+
}
|
|
5214
|
+
|
|
5215
|
+
// 坐标转换
|
|
5216
|
+
that.coordConvert = function (type, x, y, callback) {
|
|
5217
|
+
if (scene == null) {
|
|
5218
|
+
return;
|
|
5219
|
+
}
|
|
5220
|
+
if (gisMap != null) {
|
|
5221
|
+
gisMap.coordConvert(type, x, y, callback);
|
|
5222
|
+
}
|
|
5223
|
+
}
|
|
5224
|
+
|
|
5206
5225
|
that.initMap(containerID, callback, mapType, mapConfig);
|
|
5207
5226
|
|
|
5208
5227
|
// EGovaBI(globeMap).bind(this)();
|