How to layout zoom Control with setBuiltInZoomControls(true)?

前端 未结 6 1178
迷失自我
迷失自我 2020-12-09 23:16

would like to add a zoom control to the map. I also want to layout the position of the zoom Control instead of the default middle bottom position. I can do this by getZoomCo

6条回答
  •  情深已故
    2020-12-09 23:47

    I'm pretty sure that the only way to do this is to either use the MapView's deprecated getZoomControls() or to DIY it. The MapController has the methods necessary (e.g. zoomIn() and zoomOut()).

提交回复
热议问题