[openstreetmap/openstreetmap-website] More compact URL for marker at center of map (#2478)

積丹尼 Dan Jacobson notifications at github.com
Thu Dec 26 00:23:53 UTC 2019


Maybe there could be a more compact way of writing URLs where the
lat,long of the marker is the same as the center of the map, and thus
repeated exactly, e.g.,
https://www.openstreetmap.org/?mlat=24.182383&mlon=120.874524#map=17/24.182383/120.874524
has unfortunate repetition it it as created via right panel "share".
Perhaps could be written in a way with each coordinate only mentioned once.

Sure there are https://osm.org/go/... short URLs one can select. However they don't expose the lat,long in them so are "proprietary" and depend on the website still existing and cannot be salvaged later if not etc. etc.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/2478
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20191225/28349a42/attachment.html>


More information about the rails-dev mailing list