问题
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