This removes the layer which used to show the hood borders, not
the one with the V1 routers.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This actually implements polyhood support for the MAP.
This is not connected to the earlier commit which provides
database support for polyhoods. This patch will work
independent of the earlier one.
Although the KeyXchange does not provide polyhood data so far,
the Monitoring's implementation can already be put in place and
will take up the data as soon as it's there.
Note that since we only provide an additional layer for the
map, the overall footprint of this change is relatively small.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Tested-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This detects local routers based on knowing their hood, but not
having the hood listed in hoodsv2 table.
This classification is performed when the routers' alfred data
is parsed. Thus, offline routers won't change.
This requires changes to the MySQL database!
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
By default, position popup is off again until you select the layer:
With the layer enabled, behavior is as before.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Adds display support for BATMAN_V data.
This is step 1 of 2. It does change the background colors for
neighbors, but does NOT change the link colors in the map.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Increases visibility of links.
Same color change has already been performed earlier for the
neighbors in router.html.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
This includes various changes throughout the code. Additionally,
some fields are reordered.
This requires a change of the MySQL table router_neighbor!
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
If KeyXchange v1 routers are not shown, their popup windows are
now also disabled (as the user would expect); same for v2.
Fixes#95.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Draft version. On my local setup, I had to create CSVs manually
with mkcsv.py and copy them to /var/...
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>