forked from 0x2620/oxjs
shift click to join places, part 4
This commit is contained in:
parent
6162b0cc33
commit
466293b2f9
2 changed files with 2 additions and 6 deletions
|
|
@ -381,7 +381,8 @@ Ox.Map = function(options, self) {
|
|||
}
|
||||
|
||||
function addPlaceToMap(place) {
|
||||
// via find, click, or new place button
|
||||
// via find, click, shift-click, or new place button
|
||||
Ox.print('addPlaceToMap', place)
|
||||
var exists = false;
|
||||
if (!place) {
|
||||
var bounds = self.map.getBounds(),
|
||||
|
|
@ -398,8 +399,6 @@ Ox.Map = function(options, self) {
|
|||
editable: true,
|
||||
geoname: '',
|
||||
id: '_' + Ox.encodeBase32(Ox.uid()), // fixme: stupid
|
||||
lat: center.lat(),
|
||||
lng: center.lng(),
|
||||
map: that,
|
||||
name: '',
|
||||
type: 'feature',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue