Skip to content

Commit

Permalink
add transit map icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Razzmatazzz committed Oct 5, 2024
1 parent 2fa60a7 commit 77f40b9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
Binary file added public/maps/interactive/extract_transit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/map/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -995,7 +995,7 @@ function Map() {
const rect = L.polygon(outlineToPoly(transit.outline), {color: '#e53500', weight: 1, className: 'not-shown'});
const transitIcon = L.divIcon({
className: 'extract-icon',
html: `<img src="${process.env.PUBLIC_URL}/maps/interactive/extract_pmc.png"/><span class="extract-name transit">${transit.description}</span>`,
html: `<img src="${process.env.PUBLIC_URL}/maps/interactive/extract_transit.png"/><span class="extract-name transit">${transit.description}</span>`,
iconAnchor: [12, 12]
});
const transitMarker = L.marker(pos(transit.position), {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/map/map-images.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const images = {
'extract_pmc': 'extract_pmc',
'extract_scav': 'extract_scav',
'extract_shared': 'extract_shared',
'extract_transit': 'extract_pmc',
'extract_transit': 'extract_transit',
'hazard': 'hazard',
'hazard_mortar': 'hazard_mortar',
'hazard_minefield': 'hazard',
Expand Down

0 comments on commit 77f40b9

Please sign in to comment.