From a64afb270066a7319d522944f11dda07d1d6822c Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Thu, 20 Nov 2014 19:20:59 +0100 Subject: [PATCH] Fix qt zoom layer --- OsmAnd/src/net/osmand/plus/render/MapVectorLayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/render/MapVectorLayer.java b/OsmAnd/src/net/osmand/plus/render/MapVectorLayer.java index 551e9d8a12..0e5d6a75d1 100644 --- a/OsmAnd/src/net/osmand/plus/render/MapVectorLayer.java +++ b/OsmAnd/src/net/osmand/plus/render/MapVectorLayer.java @@ -94,7 +94,7 @@ public class MapVectorLayer extends BaseMapLayer { // opengl renderer mapRenderer.setTarget(new PointI(tilesRect.getCenter31X(), tilesRect.getCenter31Y())); mapRenderer.setAzimuth(tilesRect.getRotate()); - mapRenderer.setZoom((float) (tilesRect.getZoom() + tilesRect.getZoomScale() + tilesRect.getZoomAnimation())); + mapRenderer.setZoom((float) (tilesRect.getZoom() /*+ tilesRect.getZoomScale() */+ tilesRect.getZoomAnimation())); } else { if (!view.isZooming()) { if (resourceManager.updateRenderedMapNeeded(tilesRect, drawSettings)) {