summaryrefslogtreecommitdiff
path: root/src/style/property_fallback.cpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-06-27 16:59:42 +0200
committerKonstantin Käfer <mail@kkaefer.com>2014-06-27 16:59:42 +0200
commit0e9e2972755b05ddc3e7ab073bb4f9c10377d83c (patch)
tree1b6a79ba94b36e0f48f47f26975f6acf0b73cb19 /src/style/property_fallback.cpp
parentd75f0075f3356f8c0b8616ae93a9973d01cfbcfd (diff)
downloadqtlocation-mapboxgl-0e9e2972755b05ddc3e7ab073bb4f9c10377d83c.tar.gz
more refactoring and fallback values
Diffstat (limited to 'src/style/property_fallback.cpp')
-rw-r--r--src/style/property_fallback.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/style/property_fallback.cpp b/src/style/property_fallback.cpp
new file mode 100644
index 0000000000..d322f8c579
--- /dev/null
+++ b/src/style/property_fallback.cpp
@@ -0,0 +1,13 @@
+#include <llmr/style/property_fallback.hpp>
+
+namespace llmr {
+
+const std::map<PropertyKey, PropertyValue> PropertyFallbackValue::properties = {
+ { PropertyKey::LineEnabled, true },
+ { PropertyKey::LineOpacity, 1.0f },
+ { PropertyKey::LineColor, Color({{ 0, 0, 0, 1 }}) },
+};
+
+const PropertyValue PropertyFallbackValue::defaultProperty;
+
+}