typo in MapMarker

This commit is contained in:
rolux 2011-12-31 19:51:32 +05:30
parent 6279a602fd
commit a4982ff81b

View file

@ -110,7 +110,7 @@ Ox.MapMarker = function(options) {
lng = e.latLng.lng(), lng = e.latLng.lng(),
span = Math.min( span = Math.min(
that.place.sizeEastWest * Ox.getDegreesPerMeter(lat) / 2, 179.99999999 that.place.sizeEastWest * Ox.getDegreesPerMeter(lat) / 2, 179.99999999
); ),
degreesPerMeter = Ox.getDegreesPerMeter(lat); degreesPerMeter = Ox.getDegreesPerMeter(lat);
that.place.south += lat - that.place.lat; that.place.south += lat - that.place.lat;
that.place.north += lat - that.place.lat; that.place.north += lat - that.place.lat;