From a84e5cd879580740baaecbcf4f00eabab09e3906 Mon Sep 17 00:00:00 2001 From: Lane Goodman Date: Mon, 1 Jun 2020 10:43:06 -0400 Subject: [PATCH] Update nearest, edited and selected styles --- app/style/map.js | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/app/style/map.js b/app/style/map.js index 0f67efc96..2aafe8f02 100644 --- a/app/style/map.js +++ b/app/style/map.js @@ -220,9 +220,9 @@ const selectedNode = { } const selectedLine = { - lineColor: colors.primary, + lineColor: colors.secondary, lineOpacity: 0.7, - lineWidth: thinLineWidth + lineWidth: standardLineWidth } /* @@ -252,9 +252,14 @@ const nearestNodes = { ], circleRadius: 4, circleOpacity: 0.5, - circleStrokeColor: colors.base, - circleStrokeWidth: 2, - circleStrokeOpacity: 0.5 + circleStrokeColor: [ + 'match', + ['get', 'membership'], + 'no', 'white', + colors.primary + ], + circleStrokeWidth: 4, + circleStrokeOpacity: 1 } const nearestLines = { @@ -277,7 +282,7 @@ const iconHalo = { const iconEditedHalo = { circleRadius: 12, - circleColor: colors.primary, + circleColor: colors.secondary, circleOpacity: 1, circleStrokeColor: 'white', circleStrokeWidth: 0.5