improve listmap editing functionality

This commit is contained in:
rolux 2011-05-24 13:43:27 +02:00
commit b17e8a783b
6 changed files with 48 additions and 35 deletions

View file

@ -67,7 +67,7 @@ Ox.MapPlace = function(options) {
Ox.EARTH_CIRCUMFERENCE / 360;
that.sizeEastWest = (that.east + (that.west > that.east ? 360 : 0) - that.west) *
Ox.getMetersPerDegree(that.lat);
that.size = Ox.getArea(
that.area = Ox.getArea(
{lat: that.south, lng: that.west},
{lat: that.north, lng: that.east}
);