This commit is contained in:
zk
2024-05-17 16:10:51 +08:00
parent ce2b8f5837
commit 7444e6ff75
18 changed files with 125 additions and 76 deletions
+1
View File
@@ -31,6 +31,7 @@ export const Map = {
}).then((res) => {
AMap = res;
const { zoom, center, mapStyle } = { ...defaultOption, ...option };
console.log('option', option, center);
//基本地图加载
this.map = new AMap.Map(el, {
resizeEnable: true,