forked from 0x2620/oxjs
shift click to join places
This commit is contained in:
parent
7a38795314
commit
4d449232d5
2 changed files with 30 additions and 9 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue