fix build
This commit is contained in:
parent
38c4f418ef
commit
d935afe8f3
1 changed files with 2 additions and 2 deletions
|
@ -220,10 +220,10 @@ public class OsmandMapTileView implements IMapDownloaderCallback {
|
||||||
public void onTwoFingerTap() {
|
public void onTwoFingerTap() {
|
||||||
//afterTwoFingersTap = true;
|
//afterTwoFingersTap = true;
|
||||||
if (isZoomingAllowed(getZoom(), -1.1f)) {
|
if (isZoomingAllowed(getZoom(), -1.1f)) {
|
||||||
boolean mapLinked = MapActivity.getMapViewTrackingUtilities().isMapLinkedToLocation();
|
boolean mapLinked = ctx.getMapViewTrackingUtilities().isMapLinkedToLocation();
|
||||||
getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), false);
|
getAnimatedDraggingThread().startZooming(getZoom() - 1, currentViewport.getZoomFloatPart(), false);
|
||||||
if (mapLinked) {
|
if (mapLinked) {
|
||||||
MapActivity.getMapViewTrackingUtilities().setMapLinkedToLocation(true);
|
ctx.getMapViewTrackingUtilities().setMapLinkedToLocation(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue