Massimo Variolo
Massimo Variolo

Reputation: 4777

Osmdroid and Pinch

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

Upvotes: 5

Views: 1510

Answers (1)

kurtzmarc
kurtzmarc

Reputation: 3137

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.

Upvotes: 2

Related Questions