问题
I need help
I'm trying to zoom to mapview by getting users multi touch points (firstly 2 finger touch)
I know there is setMultiTouchControls() function but this is not what I want to do.
I tried to explain with a picture :) it was easier than writting;
The black bold arrows show the fingers' movement directions. The same situation can be considered for opposite directions.(zoom in)
回答1:
Finally, In osmdroid 3.0.10 this feature had been implemented.
mapView.setBuiltInZoomControls(true);
mapView.setMultiTouchControls(true);
来源:https://stackoverflow.com/questions/15159544/two-finger-or-pinc-zoom-to-mapview-in-osmdroid