Osmdroid and Pinch

2019-04-29 19: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条回答
倾城 Initia
2楼-- · 2019-04-29 20:32

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.

查看更多
登录 后发表回答