禁用所有旋转和俯仰角控制
This commit is contained in:
parent
220da59e62
commit
51478c40c9
|
|
@ -399,8 +399,12 @@ export default {
|
||||||
scrollZoom: false, // 禁用滚轮缩放
|
scrollZoom: false, // 禁用滚轮缩放
|
||||||
// 地图默认字体
|
// 地图默认字体
|
||||||
localIdeographFontFamily: "Microsoft YoHei, 'Noto Sans', 'Noto Sans CJK SC', sans-serif",
|
localIdeographFontFamily: "Microsoft YoHei, 'Noto Sans', 'Noto Sans CJK SC', sans-serif",
|
||||||
pitch: 0,
|
pitch: 0, // 初始俯仰角为0
|
||||||
bearing: 0,
|
bearing: 0, // 初始方位角为0
|
||||||
|
// 禁用所有旋转和俯仰角控制
|
||||||
|
dragRotate: false,
|
||||||
|
touchZoomRotate: false,
|
||||||
|
pitchWithRotate: false,
|
||||||
// maxBounds: [[-180, -90], [180, 90]],// Set the map's geographical boundaries.
|
// maxBounds: [[-180, -90], [180, 90]],// Set the map's geographical boundaries.
|
||||||
antialias: true,
|
antialias: true,
|
||||||
attributionControl: false,
|
attributionControl: false,
|
||||||
|
|
@ -1437,7 +1441,8 @@ export default {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
img {
|
img {
|
||||||
width: auto; height: auto;
|
width: auto;
|
||||||
|
height: auto;
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue