|
|
@@ -570,8 +570,8 @@ export default {
|
|
|
}
|
|
|
function initMap() {
|
|
|
map.value = new AMap.Map("map-container", {
|
|
|
- zoom: 16, //级别
|
|
|
- center: [121.524761, 31.228721], //中心点坐标
|
|
|
+ zoom: 11, //级别
|
|
|
+ center: [120.563757, 31.891174], //中心点坐标
|
|
|
mapStyle: "amap://styles/f48d96805f5fa7f5aada657c5ee37017",
|
|
|
});
|
|
|
let toolBar = new AMap.ToolBar({
|
|
|
@@ -585,6 +585,7 @@ export default {
|
|
|
});
|
|
|
map.value.addControl(toolBar);
|
|
|
map.value.addControl(hawkEye);
|
|
|
+ return;
|
|
|
let markers = [];
|
|
|
for (let i of medias.value) {
|
|
|
let content = `<div style='width:160px'>
|