more dimly!

This commit is contained in:
Laura Klünder 2018-12-26 18:01:59 +01:00
parent 3eb9bbd00c
commit 24e29eadf9

View file

@ -1409,11 +1409,11 @@ c3nav = {
for (level in c3nav._userLocationLayers) {
if (!c3nav._userLocationLayers.hasOwnProperty(level)) continue;
layer = c3nav._userLocationLayers[level];
factor = (level === location.level) ? 1 : 0.5;
factor = (level === location.level) ? 1 : 0.3;
L.circleMarker(latlng, {
radius: 11,
stroke: 0,
fillOpacity: 0.1 * factor
fillOpacity: 0.1
}).addTo(layer);
L.circleMarker(latlng, {
radius: 5,