将用户切换的城市设为中心显示

map.centerAndZoom(cityName,12);

  

将marker标注居中显示

map.setCenter(points)     //points是点的坐标

  

相关文章:

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