From b5bc867273c149a4c74272997a78ffe05c96c04c Mon Sep 17 00:00:00 2001 From: rolux Date: Tue, 14 Jun 2011 16:48:46 +0200 Subject: [PATCH] shift click to join places, part 5 --- source/Ox.UI/js/Map/Ox.MapMarker.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/Ox.UI/js/Map/Ox.MapMarker.js b/source/Ox.UI/js/Map/Ox.MapMarker.js index 6f1faa0e..662f2adc 100644 --- a/source/Ox.UI/js/Map/Ox.MapMarker.js +++ b/source/Ox.UI/js/Map/Ox.MapMarker.js @@ -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(),