Is there a Google Map event listener for panning or zooming map?

后端 未结 4 1433
鱼传尺愫
鱼传尺愫 2021-02-19 20:08

I want to be able to detect if the user has zoomed out or moved the map center. I have seen post about an event listener but in Javascript and I am trying to see if there is any

4条回答
  •  梦谈多话
    2021-02-19 21:12

    Try delegate method - (void)mapView:(GMSMapView *)mapView willMove:(BOOL)gesture, the BOOL parameter tells you that the mapView is moved by user or not.

提交回复
热议问题