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

You've dropped the `wrap` here because it's "unnecessary" but why is it no 
longer necessary? Presumably you think overpass handles out of range bounds?

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

Message ID: 
<openstreetmap/openstreetmap-website/pull/6102/review/2929129...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to