diff --git a/dist/leaflet.distortableimage.js b/dist/leaflet.distortableimage.js index 4656b03d1..c08eb0bcc 100644 --- a/dist/leaflet.distortableimage.js +++ b/dist/leaflet.distortableimage.js @@ -7382,7 +7382,7 @@ module.exports.formatError = function (err) { /******/ /******/ /* webpack/runtime/getFullHash */ /******/ !function() { -/******/ __webpack_require__.h = function() { return "1e418f5ca41270afddc1"; } +/******/ __webpack_require__.h = function() { return "f092abeccbe27f7dca1d"; } /******/ }(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ diff --git a/examples/archive.html b/examples/archive.html index f715fbebe..8e02f3914 100644 --- a/examples/archive.html +++ b/examples/archive.html @@ -25,7 +25,7 @@ - + + + + @@ -69,6 +105,9 @@ +
@@ -88,7 +127,6 @@

Images

- diff --git a/examples/js/archive.js b/examples/js/archive.js index 9c86d5d6d..71872f475 100644 --- a/examples/js/archive.js +++ b/examples/js/archive.js @@ -300,4 +300,11 @@ saveMap.addEventListener('click', () => { a.download = fileName ? fileName + '.json' : 'MapknitterLite.json'; a.click(); } -}); \ No newline at end of file +}) + +// share map modal +const shareModal = document.getElementById('shareModal') +const modality = new bootstrap.Modal(shareModal) +shareMapBtn.addEventListener('click', () => { + bootstrap.Modal.getInstance(shareModal).show() +}) \ No newline at end of file