import{d as i,o as l,dA as _,p,dx as r,e as u,f,R as g,S as h,g as m,_ as v}from"./index.0308b213.js";const x=t=>(g("data-v-c6830329"),t=t(),h(),t),y={class:"content"},M=x(()=>m("div",{id:"container"},null,-1)),w=[M],I=i({props:{config:null},setup(t){const n=t;let o=null;return l(()=>{_.load({key:"70cc966d8da2ca601d43216a939af693",version:"2.0",plugins:[]}).then(e=>{console.log(e),o=new e.Map("container",{viewMode:"3D",zoom:11,center:[113.280637,23.125178]})}).catch(e=>{console.log(e)})}),p(()=>n.config.coordinate,(e,c)=>{console.log("watch\u76D1\u542C",e,c);const{latitude:s,longitude:a,address:d}=e;o&&(s&&o.setCenter([s,a]),!s&&console.log(d))},{immediate:!0,deep:!0}),r(()=>{o==null||o.destroy()}),(e,c)=>(u(),f("div",y,w))}});const k=v(I,[["__scopeId","data-v-c6830329"]]);export{k as default};
