@AntonKhorev commented on this pull request.
> @@ -252,7 +247,7 @@ OSM.Query = function (map) {
*/
function queryOverpass(lat, lng) {
const latlng = L.latLng(lat, lng).wrap(),
- bounds = map.getBounds().wrap(),
+ bounds = map.wrapLatLngBounds(map.getBounds()),
What does this wrap do, given that later each bbox corner point goes through
`OSM.cropLocation` which calls `wrap` again?
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6076#pullrequestreview-2906060837
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6076/review/2906060...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev