|
| 1 | +Geographic and Indoor Maps |
| 2 | +========================== |
| 3 | + |
| 4 | +.. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/1.3/intro.gif |
| 5 | + :alt: Intro |
| 6 | + |
| 7 | +OpenWISP provides a unified web interface to monitor network status across |
| 8 | +all scales: start with a global geographic overview, drill down into |
| 9 | +specific buildings via indoor maps, and switch between floors to track |
| 10 | +devices in real time. |
| 11 | + |
| 12 | +- **Indoor Map View with Floor Navigation:** The dashboard map includes an |
| 13 | + indoor view with floor switching and fullscreen mode. |
| 14 | + |
| 15 | + .. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/1.3/indoor-map-view.gif |
| 16 | + :alt: Indoor map view |
| 17 | + |
| 18 | +- **Location View on Dedicated Map Page from Device Details Page:** The |
| 19 | + device detail page provides navigation to a full-page geographic map for |
| 20 | + the associated location. |
| 21 | + |
| 22 | + .. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/1.3/view-on-general-map-button.gif |
| 23 | + :alt: Location View from Device Details Page |
| 24 | + |
| 25 | +- **Indoor Device View on Dedicated Map Page from Device Details Page:** |
| 26 | + The device detail page provides navigation to a full-page indoor map |
| 27 | + showing the device position. |
| 28 | + |
| 29 | + .. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/1.3/view-on-indoor-map-button.gif |
| 30 | + :alt: Indoor Device View from Device Details Page |
| 31 | + |
| 32 | +- **Shareable Geographic Map URLs:** Interactions with location or device |
| 33 | + nodes on the geographic map update the URL. |
| 34 | + |
| 35 | + .. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/1.3/bookmark-url-map.gif |
| 36 | + :alt: Shareable Geographic Map URLs |
| 37 | + |
| 38 | +- **Shareable Indoor Map URLs:** Interactions with indoor device nodes |
| 39 | + update the URL. |
| 40 | + |
| 41 | + .. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/1.3/bookmark-url-indoor-map.gif |
| 42 | + :alt: Shareable Indoor Map URLs |
| 43 | + |
| 44 | +- **Real-Time Device Position Updates:** Device positions on the map are |
| 45 | + updated when new location data is received. |
| 46 | + |
| 47 | + .. image:: https://raw.githubusercontent.com/openwisp/openwisp-monitoring/docs/docs/1.3/moving-devices.gif |
| 48 | + :alt: Real-Time Device Position Updates |
| 49 | + |
| 50 | +- **WebSocket-Based Real-Time Location Updates:** Real-time map updates |
| 51 | + are delivered using WebSocket connections, allowing the frontend to |
| 52 | + receive live location data without polling. The common location |
| 53 | + broadcast channel is available at ``/ws/loci/location/`` and is used to |
| 54 | + push device location updates to geographic map views as soon as new data |
| 55 | + is received. |
| 56 | + |
| 57 | + The location broadcast channel requires authentication. Access is |
| 58 | + controlled based on organization membership: |
| 59 | + |
| 60 | + - **Superusers:** Can receive location updates for all organizations. |
| 61 | + - **Regular Users:** Can only receive location updates for organizations |
| 62 | + they manage. |
| 63 | + |
| 64 | + This ensures that location data is properly scoped and users can only |
| 65 | + receive real-time updates for locations within their managed |
| 66 | + organizations. |
0 commit comments