@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));
+ }
`crs` can't even be `EPSG:something` according to the current rfc
https://github.com/openstreetmap/openstreetmap-website/pull/5736#discussion_r2001173709
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5736#discussion_r2001194472
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/5736/review/2694815...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev