[openstreetmap/openstreetmap-website] Clean up query related code (PR #6102)

Tom Hughes notifications at github.com
Sun Jun 15 11:35:29 UTC 2025


@tomhughes 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(),

Ah right, that makes sense.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6102#discussion_r2147630208
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/6102/review/2929185639 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250615/e4ad9ff7/attachment.htm>


More information about the rails-dev mailing list