Osmdroid and Pinch

佐手、 提交于 2019-12-07 04:27:40

问题


I'm developing an app using osmdroid (3.0.8). When I zoom using two fingers in and out, the zoom starts from the center of the map, not from the middle of the two fingers (using MapView.setMultiTouchControls(true);). I've tried to implement the pinch (pinch) but with bad results. I've read other similar questions but without finding a good solution.

Note: I MUST use OSM, and not other solutions


回答1:


Osmdroid 3.0.10 includes support for zooming at the location you pinched at.

The samples also include a two-finger rotation gesture overlay if that is something you are interested in trying.



来源:https://stackoverflow.com/questions/15626091/osmdroid-and-pinch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!