Added side specifiers to bike lanes

pull/3/head
Sam Cantwell 2023-09-10 16:51:21 +10:00
rodzic bdca4fbecc
commit f79da06b03
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
}
}