Skip to content

Commit

Permalink
[Station] Update icons on map
Browse files Browse the repository at this point in the history
  • Loading branch information
claire2212 committed Jan 28, 2025
1 parent e1381aa commit 60a4e90
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 3 deletions.
1 change: 0 additions & 1 deletion frontend/public/icons/station-layer-icon-highlighted.svg

This file was deleted.

1 change: 0 additions & 1 deletion frontend/public/icons/station-layer-icon.svg

This file was deleted.

21 changes: 21 additions & 0 deletions frontend/public/icons/station_border.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions frontend/public/icons/station_border_highlighted.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const getFeatureStyle = ((feature: Feature) => {
const iconStyle = new Style({
image: new Icon({
displacement: [0, 19],
src: `/icons/station-layer-icon${featureProps.isHighlighted ? '-highlighted' : ''}.svg`
src: `/icons/station_border${featureProps.isHighlighted ? '_highlighted' : ''}.svg`
})
})

Expand Down

0 comments on commit 60a4e90

Please sign in to comment.