Feature: hash-based permalink
pietercolpaert opened this issue · comments
Why
I want to debug a geometry with my team by sharing a wktmap link
Expected behaviour
- Every time you click “Visualize” it should change the URL to
#crs=...&wkt=...
or#wktLiteral=...
with these parameters filled out. - When loading the page and either crs, wkt or both, or wktLiteral are set, fill them out. Automatically visualize this without having to click the button
@pietercolpaert Does this work for you, so with parameters wkt
and epsg
corresponding to the current form fields?
I agree in this case instant visualization makes sense, I'll look into that next.
Note that I implemented a length limit of 2000 characters, maybe this can be increased but I'll need to do some testing first.
This issue can be closed what I’m concerned
I finally managed to add a backend, there's a sharing button now which generates a short permalink.