echart 3d地圖 geo3D缺少roam屬性 所以也無法設置false
所以只能用其他方式來實現
1 ,設置地圖投影大小然后設置投影的最大值 最小值
orthographicSize: 110, //控制地圖大小
maxOrthographicSize: 110,
minOrthographicSize: 110,
即:
viewControl:{
rotateSensitivity: 0,
projection: 'orthographic',
orthographicSize: 110, //控制地圖大小
maxOrthographicSize: 110,
minOrthographicSize: 110,
autoRotate:false,
animation:true,
alpha:60,
beta:10,
animationDurationUpdate:10
// autoRotateSpeed:5
},
2 鼠標轉動值設置為0 為禁止轉動
rotateSensitivity: 0,
