@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/2929163...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to