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(),