yue1123 / vue3-baidu-map-gl

🎉百度地图 GL版 Vue3 组件库,baidu map gl components libary based on Vue3.0
https://yue1123.github.io/vue3-baidu-map-gl/
MIT License
378 stars 45 forks source link

初始化完毕后,获取的 map, BmapGL, instance 都是undefined #98

Closed zhuqiyun closed 2 weeks ago

zhuqiyun commented 1 month ago

function handleInitd({ map, BmapGL, instance }: any) { pageMap.mapHandle = map pageMap.bmapHandle = BmapGL console.log('mapHandle------>', pageMap.bmapHandle) console.log('BmapGL------>', BmapGL) pageMap.mapIns = instance getUseAddressGeocoder.get(pageMap.addr, pageMap.city) }

yue1123 commented 1 month ago

能提供下完整示例代码吗,包含template

github-actions[bot] commented 3 weeks ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 2 weeks ago

This issue was closed because it has been inactive for 14 days since being marked as stale.