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,

 

相关文章:

  • 2022-02-04
  • 2021-11-27
  • 2021-06-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-01-20
  • 2022-01-15
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
相关资源
相似解决方案