@AntonKhorev commented on this pull request.
> + geoURI.epsg = geoURI.params.crs?.toUpperCase()?.replace(":", "");
+ if (geoURI.epsg?.startsWith("EPSG")) {
+ geoURI.coords =
L.CRS.EPSG3857.unproject(L.CRS[geoURI.epsg]?.project(geoURI.coords));
+ }
Is it just an excuse to parse all geo parameters or something that's actually
supposed to work?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5736#pullrequestreview-2694624268
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5736/review/2694624...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev