Sam Cantwell 2023-09-10 07:00:18 +00:00 zatwierdzone przez GitHub
commit 2a074dd7cb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -40,7 +40,7 @@ export function isOrangeRoad(feature: Feature<Geometry, GeoJsonProperties>): boo
if (p.maxspeed <= 40) {
return true;
}
if (p.cycleway === 'lane') {
if (p.cycleway === 'lane' || p['cycleway:left'] === 'lane' || p['cycleway:right'] === 'lane' || p['cycleway:both'] === 'lane') {
return true;
}
return false;
@ -81,4 +81,4 @@ export function isGreenRoad(feature: Feature<Geometry, GeoJsonProperties>): bool
return true;
}
return false
}
}