Skip to content

Commit

Permalink
[fix] [boostcamp-2020#161] 도로 색칠 문제 해결
Browse files Browse the repository at this point in the history
- 4번째 에러인 도로 전체 아이콘 없앤 후 새로고침하면 도로가 칠해지는 현상 해결
- 색상 값이 잘못들어가 있었다. 아마 문제 자체는 리팩토링하면서 해결되었을 것으로 추정
  • Loading branch information
qkrdmstlr3 committed Dec 14, 2020
1 parent 90ca64b commit 4269b2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/store/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { combineReducers, createStore } from 'redux';

import map from './map/reducer';
import {
poiReducer as poi,
Expand Down
2 changes: 1 addition & 1 deletion src/utils/map-styling/road.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function roadStyling({
map,
layerNames: outsideLayerNames,
type: ColorType.fill,
color: '#ffffff',
color: style.color,
[key]: style[key as StyleKeyType],
});
}
Expand Down

0 comments on commit 4269b2b

Please sign in to comment.