summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Nienhüser <nienhueser@kde.org>2016-08-11 18:16:50 (GMT)
committerDennis Nienhüser <nienhueser@kde.org>2016-08-11 18:17:11 (GMT)
commit83ee05e30e0f6d6ce4799194e20feca782b0a365 (patch)
treeef16cdd469440f412fd5575584a52e6d38116170
parentf3fce78606547afdb5dcd83edbc0305a2023c709 (diff)
Extract width of areoway runways also
-rw-r--r--src/lib/marble/StyleBuilder.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/marble/StyleBuilder.cpp b/src/lib/marble/StyleBuilder.cpp
index ae07fdf..1b45508 100644
--- a/src/lib/marble/StyleBuilder.cpp
+++ b/src/lib/marble/StyleBuilder.cpp
@@ -969,8 +969,9 @@ GeoDataStyle::ConstPtr StyleBuilder::createStyle(const StyleParameters &paramete
}
}
}
- else if (visualCategory >= GeoDataFeature::HighwayService &&
- visualCategory <= GeoDataFeature::HighwayMotorway) {
+ else if ((visualCategory >= GeoDataFeature::HighwayService &&
+ visualCategory <= GeoDataFeature::HighwayMotorway) ||
+ visualCategory == GeoDataFeature::TransportAirportRunway) {
if (parameters.tileLevel >= 0 && parameters.tileLevel <= 7) {
/** @todo: Dummy implementation for dynamic style changes based on tile level, replace with sane values */