Skip to content

Commit

Permalink
Merge pull request #283 from developmentseed/update/selected-colors
Browse files Browse the repository at this point in the history
Update nearest/selected/edited colors
  • Loading branch information
geohacker authored Jun 2, 2020
2 parents 9c287ce + a84e5cd commit d4160e1
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions app/style/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ const selectedNode = {
}

const selectedLine = {
lineColor: colors.primary,
lineColor: colors.secondary,
lineOpacity: 0.7,
lineWidth: thinLineWidth
lineWidth: standardLineWidth
}

/*
Expand Down Expand Up @@ -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 = {
Expand All @@ -277,7 +282,7 @@ const iconHalo = {

const iconEditedHalo = {
circleRadius: 12,
circleColor: colors.primary,
circleColor: colors.secondary,
circleOpacity: 1,
circleStrokeColor: 'white',
circleStrokeWidth: 0.5
Expand Down

0 comments on commit d4160e1

Please sign in to comment.