Flipped flat map so North is up

This commit is contained in:
zeeZ 2011-04-08 21:40:16 +02:00
parent d53b3bc340
commit 553a956949
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ FlatProjection.prototype = {
return new google.maps.LatLng(point.x/128.0, point.y/128.0);
},
fromWorldToLatLng: function(x, y, z) {
return new google.maps.LatLng(x / 128.0, z / 128.0);
return new google.maps.LatLng(-z / 128.0, x / 128.0);
}
};