其他页面制作,overlay点击事件方式冒泡

This commit is contained in:
jiangzhongzhi 2023-07-06 16:04:19 +08:00
parent b6792af6bb
commit 9bf53f6eb7
14 changed files with 3285 additions and 4524 deletions

View File

@ -1,9 +1,9 @@
window.serverAPI = {
// baseUrl: "http://8.142.26.238:6901", //线上
// baseUrl: "http://192.168.2.46:8080", //本地
baseUrl: "http://36.134.44.75:6901", //移动线上
baseUrl: "http://192.168.2.46:8080", //本地
// baseUrl: "http://36.134.44.75:6901", //移动线上
// geoserver
geoserverUrl: "http://36.134.44.75:8090/iserver/services",
username: "admin",
password: 'geoserver',
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 957 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1011 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 958 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 849 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 875 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 810 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 859 B

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -435,7 +435,8 @@ function initMap() {
element: document.createElement('div'), // div
positioning: 'bottom-center', //
offset: [0, -10], // 便
stopEvent: false, //
stopEvent: true, //
});
//
@ -447,6 +448,7 @@ function initMap() {
layers.setVisible(false);
}
});
map.on('singleclick', function (e) {
alterData = ref([]);
const pixel = map.getEventPixel(e.originalEvent);
@ -476,6 +478,9 @@ function initMap() {
);
}
});
map.forEachFeatureAtPixel(pixel, (feature) => {

File diff suppressed because one or more lines are too long