shift click to join places, part 5
This commit is contained in:
parent
466293b2f9
commit
b5bc867273
1 changed files with 9 additions and 0 deletions
|
@ -58,6 +58,15 @@ Ox.MapMarker = function(options) {
|
|||
southWest = bounds.getSouthWest(),
|
||||
northEast = bounds.getNorthEast();
|
||||
that.map.newPlace(new Ox.MapPlace({
|
||||
// fixme: duplicated, see Ox.Map.js
|
||||
alternativeNames: [],
|
||||
countryCode: '',
|
||||
editable: true,
|
||||
geoname: '',
|
||||
id: '_' + Ox.encodeBase32(Ox.uid()), // fixme: stupid
|
||||
map: that,
|
||||
name: '',
|
||||
type: 'feature',
|
||||
south: southWest.lat(),
|
||||
west: southWest.lng(),
|
||||
north: northEast.lat(),
|
||||
|
|
Loading…
Reference in a new issue