openwisp / openwisp-monitoring

Network monitoring system written in Python and Django, designed to be extensible, programmable, scalable and easy to use by end users: once the system is configured, monitoring checks, alerts and metric collection happens automatically.
https://openwisp.io/docs/dev/monitoring/
Other
163 stars 111 forks source link

[bug] Map is bound and borders bounce #462

Closed nemesifier closed 1 year ago

nemesifier commented 1 year ago

It seems that dragging the map from Asia/Oceania to the Americas and vice versa is not permitted, which is very uncomfortable:

map-bug

Any leaflet demo doesn't show this issue: https://leafletjs.com/examples/geojson/

Looking at the django-leaflet code in the dashboard I see:

"extent": [[-90, -180], [90, 180]], "fitextent": true

I wonder if this is what is causing this bounce?

nemesifier commented 1 year ago

This should be fixed if we complete https://github.com/openwisp/openwisp-monitoring/issues/393 .

nemesifier commented 1 year ago

Solved by #433.