徐景良 2024-08-07 13:44:04 +08:00
commit 386d042a59
1 changed files with 8 additions and 0 deletions

View File

@ -604,6 +604,10 @@ onMounted(()=>{
handlerCheckUserOrgs(); handlerCheckUserOrgs();
handlerLoadMaskLayer(); handlerLoadMaskLayer();
handlerDealCountry(); handlerDealCountry();
map.flyTo({
center: [118.72504868812163, 35.180072027132915],
zoom: 7.848587811931849,
}),
map.on("click",(e)=>{ map.on("click",(e)=>{
var center = map.getCenter(); // var center = map.getCenter(); //
var zoom = map.getZoom(); // var zoom = map.getZoom(); //
@ -611,6 +615,10 @@ onMounted(()=>{
console.log(center); console.log(center);
}) })
}) })
map && map.flyTo({
center: [118.72504868812163, 35.180072027132915],
zoom: 7.848587811931849,
})
}) })