添加离线地图

This commit is contained in:
GGJ
2024-12-16 20:57:17 +08:00
parent 0cd5598e8c
commit ccd07ed110
93 changed files with 20430 additions and 126 deletions

View File

@@ -37,10 +37,11 @@ const setupAll = async () => {
//开启离线地图
// app.use(BaiduMapOffline, {
// offline: true,
// offlineUrl:'http://sjzx:8088/map/' //window.location.origin + '/map/'
// // offlineUrl:'http://sjzx:8088/map/' //window.location.origin + '/map/'
// })
app.use(BaiduMap, {
ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK',
// ak: 'Yp57V71dkOPiXjiN8VdcFRsVELzlVNKK',
ak: 'aDYDfiR6ROVR1ehrLedSc9makxGD1vxZ',
v: '3.0'
})