pieterprovoost / wktmap

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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.