将指定城市设为地图中心点/ marker标注居中显示

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

map.centerAndZoom(cityName,12);

  

将marker标注居中显示

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

  

原文地址:https://www.cnblogs.com/xhrr/p/11287295.html