Use Font Awesome 5 icons as SVG for POI layers
where iD Tagging Schema references "fas-*" icons. For now, only use selected FA 5 SVG files for overpass layers (without loading any FA 5 JS, CSS or font) and stick with FA 4.7 for everything else.
This commit is contained in:
parent
87858b36e4
commit
7bcbb1a8e4
3 changed files with 23 additions and 0 deletions
16
package.json
16
package.json
|
|
@ -36,6 +36,7 @@
|
|||
],
|
||||
"dependencies": {
|
||||
"@bagage/leaflet.restoreview": "1.0.1",
|
||||
"@fortawesome/fontawesome-free": "^5.15.3",
|
||||
"@ideditor/temaki": "^5.0.0",
|
||||
"@mapbox/maki": "^6.2.0",
|
||||
"@mapbox/polyline": "^0.2.0",
|
||||
|
|
@ -339,6 +340,21 @@
|
|||
"icons/spotting_scope.svg",
|
||||
"icons/cabin.svg"
|
||||
]
|
||||
},
|
||||
"@fortawesome/fontawesome-free": {
|
||||
"main": [
|
||||
"svgs/solid/shopping-basket.svg",
|
||||
"svgs/solid/ice-cream.svg",
|
||||
"svgs/solid/carrot.svg",
|
||||
"svgs/solid/cheese.svg",
|
||||
"svgs/solid/concierge-bell.svg",
|
||||
"svgs/solid/motorcycle.svg",
|
||||
"svgs/solid/charging-station.svg",
|
||||
"svgs/solid/box.svg",
|
||||
"svgs/solid/taxi.svg",
|
||||
"svgs/solid/phone-alt.svg",
|
||||
"svgs/solid/beer.svg"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue