On zoom event for google maps on android

前端 未结 11 2011
清酒与你
清酒与你 2020-11-30 00:04

We\'re building an application which is using the google maps api for android.

I have my MapController and MapView, and I enable the built-in zoom controls using:

11条回答
  •  情歌与酒
    2020-11-30 00:23

    You Can use

    ZoomButtonsController zoomButton = mapView.getZoomButtonsController();
    zoomButton.setOnZoomListener(listener);
    

    hope it helps

提交回复
热议问题