Move red map markers to foreground #2127

Merged
merged 2 commits into from Oct 13, 2015

Projects

None yet

3 participants

@9er
9er commented Oct 13, 2015

Usually you're interested in the things that are broken, rather than the things that are fine, so this will set zIndexOffset to 10000 for the leaflet markers on the world map, if a device is down (red marker). They will then appear in the foreground and won't be hidden by green markers.

I assume that is what the "ORDER BY status ASC" in the SQL was meant for, but it didn't seem to have an effect on the leaflet marker order for me.

Sebastian Ne... added some commits Oct 13, 2015
Sebastian Neuner world map: move markers to foreground for hosts that are down ef424da
Sebastian Neuner I agree to the conditions of the Contributor Agreement contained in d…
…oc/General/Contributing.md.
f793428
@laf laf merged commit 668e6da into librenms:master Oct 13, 2015

2 checks passed

Auto-Deploy Build finished. No test results found.
Details
Scrutinizer No new issues
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment