map.dataLayer = new L.OSM.DataLayer(null);
map.dataLayer.options.code = 'D';
- $("#sidebar").on("opened closed", function () {
- map.invalidateSize();
- });
-
var position = $('html').attr('dir') === 'rtl' ? 'topleft' : 'topright';
L.OSM.zoom({position: position})
}
}
- if (params.box) {
- L.rectangle(params.box, {
- weight: 2,
- color: '#e90',
- fillOpacity: 0
- }).addTo(map);
- }
-
if (params.marker) {
marker.setLatLng([params.mlat, params.mlon]).addTo(map);
}
initializeExport(map);
initializeBrowse(map, params);
initializeNotes(map, params);
+
+ if ('undefined' !== typeof initializeChangesets) initializeChangesets(map);
});
function updateLocation() {