update 银川地图中心点做特殊处理

This commit is contained in:
zk
2024-05-21 16:07:12 +08:00
parent f3f100cd18
commit 16e85fe15d
5 changed files with 77 additions and 18 deletions
+7 -1
View File
@@ -1,9 +1,15 @@
// 西安地图默认配置
export const defaultOption = {
// center: [108.660704, 36.386058], //地图中心点
center: [108.660704, 36.386058], //地图中心点
zoom: 6.5, //地图显示的缩放级别
mapStyle: 'darkblue', //地图样式
};
export const YinChuanOption = {
center: [106.32, 38.45], //地图中心点
zoom: 8, //地图显示的缩放级别
mapStyle: 'darkblue', //地图样式
};
// 地图key
export const mapKey = '4bbcb216b889f2d612cbed05ae6979c8';
export const mapPlugin = ['AMap.ToolBar', 'AMap.Driving', 'AMap.GeoJSON', 'AMap.MarkerCluster', 'AMap.PlaceSearch'];