Skip to content

Commit

Permalink
Fix icons size on map for AA
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-osm committed Dec 19, 2024
1 parent d392a02 commit 36be35d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion OsmAnd/src/net/osmand/plus/views/OsmandMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 36be35d

Please sign in to comment.