[openstreetmap/openstreetmap-website] Clean up query related code (PR #6102)
Marwin Hochfelsner
notifications at github.com
Sun Jun 15 11:27:29 UTC 2025
@hlfan commented on this pull request.
> @@ -250,34 +242,31 @@ OSM.Query = function (map) {
* In both cases we then ask to retrieve tags and the geometry
* for each object.
*/
- function queryOverpass(lat, lng) {
- const latlng = L.latLng(lat, lng).wrap(),
- bounds = map.getBounds().wrap(),
`bounds` goes through `OSM.cropLocation` which calls `wrap` again - https://github.com/openstreetmap/openstreetmap-website/pull/6076#discussion_r2132857315
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6102#discussion_r2147607965
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/6102/review/2929163944 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250615/74a961a9/attachment.htm>
More information about the rails-dev
mailing list