1
0
Fork 0
forked from 0x2620/oxjs

shift click to join places

This commit is contained in:
rolux 2011-06-14 16:34:09 +02:00
commit 4d449232d5
2 changed files with 30 additions and 9 deletions

View file

@ -1220,8 +1220,12 @@ Ox.Map = function(options, self) {
return key;
};
that.getSelectedPlace = function() {
return getSelectedPlace();
}
that.editPlace = function() {
getPlaceById(self.options.selected).edit();
getSelectedPlace().edit();
return that;
};
@ -1245,8 +1249,8 @@ Ox.Map = function(options, self) {
});
};
that.newPlace = function() {
addPlaceToMap();
that.newPlace = function(place) {
addPlaceToMap(place);
};
that.panToPlace = function() {