From 36be35d91b242997ea39600d55e7d66c07cc851a Mon Sep 17 00:00:00 2001 From: alex-osm Date: Thu, 19 Dec 2024 14:42:58 +0300 Subject: [PATCH] Fix icons size on map for AA --- OsmAnd/src/net/osmand/plus/views/OsmandMap.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMap.java b/OsmAnd/src/net/osmand/plus/views/OsmandMap.java index 3a4f3db4dd8..c204ee0bc5b 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMap.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMap.java @@ -155,7 +155,8 @@ public float getCarDensityScaleCoef() { OsmandMapTileView mapView = app.getOsmandMap().getMapView(); if (mapView.isCarView()) { float carViewDensity = mapView.getCarViewDensity(); - return carViewDensity / 2.6f; + float density = mapView.getDensity(); + return carViewDensity / density; } return 1f; }