You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the query that contains {{bbox}} I end up with errors:
Error: line 8: static error: For the attribute "w" of the element "bbox-query" the only allowed values are floats between -180.0 and 180.0.
Error: line 8: static error: For the attribute "e" of the element "bbox-query" the only allowed values are floats between -180.0 and 180.0.
And indeed, when I look at the underlying request, it has numbers like this: -482.48 in the corresponding attributes.
The text was updated successfully, but these errors were encountered:
It is because for some reason, world coordinates are not cyclic, i.e. when you scroll the world twice, you'll have 360 degrees added to your coords. Probably a bug in Leaflet.
Well, this behaviour changed with Leaflet 0.5. But it's meant to be that way.
For now, I've decided to display only one "earth" and to clip coordinates that are outside of those bounds. Because this is more the way the Overpass API handles coordinates.
When I run the query that contains
{{bbox}}
I end up with errors:And indeed, when I look at the underlying request, it has numbers like this:
-482.48
in the corresponding attributes.The text was updated successfully, but these errors were encountered: