1
0
Fork 0
mirror of https://github.com/Findus23/RainbowRoad.git synced 2024-09-19 16:03:52 +02:00

add one more crossing

This commit is contained in:
Lukas Winkler 2022-12-11 21:12:27 +01:00
parent 2d57022b12
commit c63e2d7c49
Signed by: lukas
GPG key ID: 54DE4D798D244853
4 changed files with 47 additions and 3 deletions

BIN
assets/favicons/apa.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 582 B

View file

@ -85,7 +85,7 @@ async function runfetch(filename: string) {
}
fs.readdirSync("../data/").forEach(file => {
if (file === "schema.json") {
if (file === "schema.json" || file === "LICENSE") {
return
}
console.info(file)

View file

@ -1418,5 +1418,46 @@
],
"length": 30.3
}
},
{
"id": 331542771,
"name": "Burggasse/Museumsplatz",
"bezirk": 7,
"type": "transFlag",
"sources": [
{
"type": "official",
"url": "https://www.ots.at/presseaussendung/OTS_20221118_OTS0105/bezirk-neubau-transzebrastreifen-feierlich-eroeffnet-bild",
"date": "2022-11-18"
},
{
"type": "official",
"url": "https://www.wien.gv.at/presse/2022/11/18/neubau-trans-zebrastreifen-an-zentralem-und-stark-frequentiertem-platz-eroeffnet",
"date": "2022-11-18"
}
],
"geosource": {
"type": "OSMnodes",
"nodes": [
4788433944,
3805842867,
4683287990,
4683287989,
4683287588
]
},
"geo": {
"coords": [
[
16.3601155,
48.2062852
],
[
16.3599884,
48.2063912
]
],
"length": 15.09
}
}
]
]

View file

@ -16,7 +16,8 @@ import fmtIcon from "../assets/favicons/fmt.png"
import tipsIcon from "../assets/favicons/tips.png"
import a1Icon from "../assets/favicons/a1.net.png"
import orfIcon from "../assets/favicons/orf.png"
import {or} from "ol/format/filter";
import apaIcon from "../assets/favicons/apa.png"
export function faviconByHostname(hostname: string): string | undefined {
@ -51,6 +52,8 @@ export function faviconByHostname(hostname: string): string | undefined {
return tipsIcon
case "newsroom.a1.net":
return a1Icon
case "www.ots.at":
return apaIcon
}
if (hostname.includes("spoe")) {