publiclab / Leaflet.DistortableImage

A Leaflet extension to distort or "rubber sheet" images
https://publiclab.github.io/Leaflet.DistortableImage/examples/
BSD 2-Clause "Simplified" License
270 stars 284 forks source link

Drag and Drop JSON File to Reconstruct Saved Map #1344

Closed segun-codes closed 1 year ago

segun-codes commented 1 year ago

Currently, the only way to restore map to its previous saved state where a user left it off is to use formatted JSON URL. As such there's no alternative approach to this. It's a good design practice and better user experience to present users with the opportunity to choose between multiple user journeys to the same end where possible.

Please describe the desired behavior. In order to reconstruct saved map and restore it to its previous state, users should be able to drag and drop (e.g., .json file) on the tile layer to achieve this.