Fix merge

This commit is contained in:
Victor Shcherb 2014-11-17 22:05:09 +01:00
parent 849ba5b17e
commit b5975af3a9

View file

@ -349,7 +349,7 @@ public class OsmMapUtils {
*/ */
public static double polygonAreaPixels(List<Node> nodes, int zoom) { public static double polygonAreaPixels(List<Node> nodes, int zoom) {
double area = 0.; double area = 0.;
double mult = 1 / MapUtils.getPowZoom(Math.max(31 - (zoom + 8), 0)); double mult = 1 / MapUtils.getPowZoom((double)Math.max(31 - (zoom + 8), 0));
int j = nodes.size() - 1; int j = nodes.size() - 1;
for (int i = 0; i < nodes.size(); i++) { for (int i = 0; i < nodes.size(); i++) {
Node x = nodes.get(i); Node x = nodes.get(i);