Reduce number of icons for square meter

This commit is contained in:
vshcherb 2014-02-24 01:50:46 +01:00
parent b8513bd145
commit 0e04a7d5b1

View file

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