allow for editing s/w/n/e/ values manually

This commit is contained in:
rlx 2011-06-01 13:53:09 +00:00
commit 66c8347a2a
4 changed files with 11 additions and 4 deletions

View file

@ -83,6 +83,7 @@ Ox.MapPlace = function(options) {
place: that
});
} else if (updateMarker) {
Ox.print('UPDATING marker and rectangle ... llswne', that.lat, that.lng, that.south, that.west, that.north, that.east)
that.marker.update();
that.rectangle.update();
}
@ -155,6 +156,7 @@ Ox.MapPlace = function(options) {
options = Ox.makeObject(arguments);
Ox.forEach(options, function(value, key) {
that[key] = value;
Ox.print('that.' + key, '=', value, '......')
});
update(true);
};