export function rotation(map,zoom=0){
  return setInterval(() => {
    if(zoom==0){
      let zoom = map.getZoom();
    }
     let center = map.getCenter();
     let lng = center.lng >= 360 ? 0 : center.lng + 5
     map.setCenter(new BMapGL.Point(lng, center.lat))
   }, 50)
 }