Skip to content

Commit

Permalink
Merge pull request #1667 from hackforla/1661-change-map-background-st…
Browse files Browse the repository at this point in the history
…yle-and-boundary-color

Change map style and boundary color.
  • Loading branch information
funbunch authored Feb 5, 2024
2 parents 0b03a74 + 8604ea1 commit 100d267
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion components/Map/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class Map extends React.Component {
filteredRequestCounts: {},
hoveredRegionName: null,
colorScheme: 'prism',
mapStyle: 'streets',
mapStyle: 'light',
canReset: true,
selectedRequestId: null,
selectedNc: null,
Expand Down
2 changes: 1 addition & 1 deletion components/Map/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const GEO_FILTER_TYPES = {

export const MAP_STYLES = {
dark: 'mapbox://styles/mapbox/dark-v10',
light: 'mapbox://styles/mapbox/light-v10',
light: 'mapbox://styles/mapbox/light-v11',
streets: 'mapbox://styles/mapbox/streets-v11',
satellite: 'mapbox://styles/mapbox/satellite-streets-v11',
};
2 changes: 1 addition & 1 deletion components/Map/layers/BoundaryLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const FIT_BOUNDS_PADDING = {
};

function getBoundaryColor(boundaryStyle) {
return boundaryStyle === 'light' ? '#FFFFFF' : '#27272b';
return boundaryStyle === 'light' ? '#FFFFFF' : '#62ADFC';
}

function getMaskFillOpacity(boundaryStyle) {
Expand Down

0 comments on commit 100d267

Please sign in to comment.