Reduce number of icons for square meter

This commit is contained in:
vshcherb 2014-02-24 01:55:43 +01:00
parent 0e04a7d5b1
commit 13361d0252

View file

@ -300,7 +300,7 @@ public class OsmandRenderer {
return object1.iconOrder - object2.iconOrder;
}
});
int skewConstant = (int) rc.getDensityValue(24);
int skewConstant = (int) rc.getDensityValue(32);
int iconsW = rc.width / skewConstant;
int iconsH = rc.height / skewConstant;
int[] alreadyDrawnIcons = new int[iconsW * iconsH / 32];