Commit 272f927c authored by Volker Krause's avatar Volker Krause
Browse files

Also consider opening hours for parking entities

parent c3f57c31
Pipeline #42508 passed with stage
in 22 seconds
......@@ -444,13 +444,7 @@ node|z20-[vending=public_transport_tickets] {
*|z18-[amenity=motorcycle_parking]
{
icon-image: amenity;
icon-color: #3daee9;
}
*|z17-[amenity=parking][access=private],
*|z18-[amenity=bicycle_parking][access=private],
*|z18-[amenity=motorcycle_parking][access=private]
{
icon-color: #7f8c8d;
set .parking;
}
*|z-20[amenity=parking][access=private]
{
......@@ -476,7 +470,7 @@ node|z20-[vending=public_transport_tickets] {
// charging stations
node|z19-[amenity=charging_station] {
icon-color: #3daee9;
set .parking;
icon-image: "charging_station";
}
node|z19-[amenity=charging_station][access=private] { icon-color: #7f8c8d; }
......@@ -488,14 +482,14 @@ node|z19-[amenity=charging_station][access=private] { icon-color: #7f8c8d; }
*|z19-[amenity=car_sharing],
*|z18-[amenity=taxi]
{
icon-color: #3daee9;
set .parking;
icon-image: amenity;
}
*|z21-[amenity=taxi] { text: ""; }
*|z19-[amenity=car_sharing] { icon-image: "car_rental"; } // TODO needs a better icon
node|z19-[barrier=toll_booth]
{
icon-color: #3daee9;
set .parking;
icon-image: barrier;
}
......
......@@ -173,6 +173,14 @@ line[public_transport=platform]
icon-color: #bdc3c7;
}
*.parking { icon-color: #3daee9; }
*.parking[access=no],
*.parking[access=private],
*.parking[mx:closed]
{
icon-color: #bdc3c7;
}
*.health { icon-color: #ed1515; }
*.health[mx:closed] { icon-color: #bdc3c7; }
......
......@@ -175,6 +175,14 @@ line[public_transport=platform]
icon-color: #7f8c8d;
}
*.parking { icon-color: #3daee9; }
*.parking[access=no],
*.parking[access=private],
*.parking[mx:closed]
{
icon-color: #7f8c8d;
}
*.health { icon-color: #ed1515; }
*.health[mx:closed] { icon-color: #7f8c8d; }
......
......@@ -278,7 +278,6 @@ Kirigami.ApplicationWindow {
locationQuery.request.longitude = page.map.mapData.center.x;
locationQuery.request.maximumDistance = page.map.mapData.radius;
locationQuery.request.types = PublicTransport.Location.RentedVehicleStation;
console.log(page.map.mapData.center.y, page.map.mapData.center.x, page.map.mapData.radius, "XXXXXXXXXXXXXXXXXX");
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment