xy-cesium3 0.0.27 → 0.0.28
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/img/timeMap/20200522145400_20200522145400_0c972b7abe4f4b4fbdbe909f5c1ca17a.png +0 -0
- package/img/timeMap/20200522145400_20200522150000_55c4adac7ac8460db3d893866897bd6d.png +0 -0
- package/img/timeMap/20200522145400_20200522150600_ca075253d90e40049f069d22a1a3ce3d.png +0 -0
- package/img/timeMap/20200522145400_20200522151200_afe188f5892d4dd8a4d09d94c746ce1f.png +0 -0
- package/img/timeMap/20200522145400_20200522151800_b10b132f2d52424e9ab55a61896e86b0.png +0 -0
- package/img/timeMap/20200522145400_20200522152400_4ad54289d6f64f5aaa160f453a99b14a.png +0 -0
- package/img/timeMap/20200522145400_20200522153000_cf72453eba0b4b33966f69899771ba16.png +0 -0
- package/img/timeMap/20200522145400_20200522153600_c3aac59805ec433bae08bc8d77d25d20.png +0 -0
- package/img/timeMap/20200522145400_20200522154200_42a885bb66144e698190c38d02b3be96.png +0 -0
- package/img/timeMap/20200522145400_20200522154800_4564689c557e43ff993ad0113363bd6d.png +0 -0
- package/img/timeMap/20200522145400_20200522155400_4742e31563464542a533a43d5414a7ae.png +0 -0
- package/img/timeMap/20200522145400_20200522160000_487da64a0f384795848e60f2ed343500.png +0 -0
- package/img/timeMap/20200522145400_20200522160600_9a1cf5da2f2c46158f113c057b9bb079.png +0 -0
- package/img/timeMap/20200522145400_20200522161200_76861453df20413fa1eff57c8c938758.png +0 -0
- package/img/timeMap/20200522145400_20200522161800_767d25a128e94d968522badfaf071a66.png +0 -0
- package/img/timeMap/20200522145400_20200522162400_8b949a9d47fd4f289bd51afe9e009ab9.png +0 -0
- package/img/timeMap/20200522145400_20200522163000_9f234335ae2c42ac91d5dfc62b72f3db.png +0 -0
- package/img/timeMap/20200522145400_20200522163600_a808919c4a5a4142b188520a74dacf75.png +0 -0
- package/img/timeMap/20200522145400_20200522164200_248688f96cfd438eb5229812dfb748c3.png +0 -0
- package/img/timeMap/20200522145400_20200522164800_797dd13e0a304fbe934fee1902b7fc21.png +0 -0
- package/img/timeMap/20200522145400_20200522165400_0be5ef511d6c467288ec9f7b961821bd.png +0 -0
- package/img/timeMap/20200522145400_20200522170000_a1820b8d4527467a85db7fee3b352bbb.png +0 -0
- package/img/timeMap/20200522145400_20200522170600_964ada943fcf4a13aa59364b1efd0b1b.png +0 -0
- package/package.json +1 -1
- package/xy-cesium3.es.js +7 -0
- package/xy-cesium3.umd.js +1 -1
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
package/xy-cesium3.es.js
CHANGED
|
@@ -14820,6 +14820,7 @@ class Popup {
|
|
|
14820
14820
|
let className = this.className || conf.className;
|
|
14821
14821
|
ctn.className = "cesium-popup-container" + (className ? " " + className : "");
|
|
14822
14822
|
ctn.id = id;
|
|
14823
|
+
ctn.addEventListener("click", this.handleFloatingClick);
|
|
14823
14824
|
document.getElementById(this.viewer.container.id).appendChild(ctn);
|
|
14824
14825
|
ctn.innerHTML = this.createHtml(conf.html, conf.content, conf.type, conf.animate);
|
|
14825
14826
|
this.ctnList[id] = [position, ctn];
|
|
@@ -14851,6 +14852,10 @@ class Popup {
|
|
|
14851
14852
|
}
|
|
14852
14853
|
}
|
|
14853
14854
|
}
|
|
14855
|
+
handleFloatingClick(event) {
|
|
14856
|
+
console.log("Floating div clicked!");
|
|
14857
|
+
event.stopPropagation();
|
|
14858
|
+
}
|
|
14854
14859
|
createHtml(html, content, type, animate) {
|
|
14855
14860
|
html = html || this.html;
|
|
14856
14861
|
if (html) {
|
|
@@ -14895,6 +14900,7 @@ class Popup {
|
|
|
14895
14900
|
}
|
|
14896
14901
|
close(e) {
|
|
14897
14902
|
e.remove();
|
|
14903
|
+
e.removeEventListener("click", this.handleFloatingClick);
|
|
14898
14904
|
delete this.ctnList[e.id];
|
|
14899
14905
|
if (Object.keys(this.ctnList).length == 0) {
|
|
14900
14906
|
if (this.eventListener)
|
|
@@ -14905,6 +14911,7 @@ class Popup {
|
|
|
14905
14911
|
closeAll() {
|
|
14906
14912
|
for (var o in this.ctnList) {
|
|
14907
14913
|
this.ctnList[o][1].remove();
|
|
14914
|
+
this.ctnList[o][1].removeEventListener("click", this.handleFloatingClick);
|
|
14908
14915
|
}
|
|
14909
14916
|
this.ctnList = {};
|
|
14910
14917
|
if (this.eventListener)
|