summaryrefslogtreecommitdiff
path: root/platform/android/src/style
diff options
context:
space:
mode:
authorYoung Hahn <young@mapbox.com>2016-09-21 19:07:33 -0400
committerJohn Firebaugh <john.firebaugh@gmail.com>2016-09-21 16:07:33 -0700
commit6a2ce352d1eec6dc166e351e06c6b10c633eb07c (patch)
tree58e5682522a544cd9db5c1052d538148565be9da /platform/android/src/style
parent673d8f90f24a89871905e80ef1bfd7970e61dc6c (diff)
downloadqtlocation-mapboxgl-6a2ce352d1eec6dc166e351e06c6b10c633eb07c.tar.gz
Better handling for undefined icon|text-rotation-alignment (#6253)
* [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests
Diffstat (limited to 'platform/android/src/style')
-rw-r--r--platform/android/src/style/conversion/types_string_values.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/android/src/style/conversion/types_string_values.hpp b/platform/android/src/style/conversion/types_string_values.hpp
index 35cdb1cbc9..d44de733d4 100644
--- a/platform/android/src/style/conversion/types_string_values.hpp
+++ b/platform/android/src/style/conversion/types_string_values.hpp
@@ -81,6 +81,9 @@ namespace conversion {
case mbgl::style::AlignmentType::Viewport:
return "viewport";
break;
+ case mbgl::style::AlignmentType::Auto:
+ return "auto";
+ break;
default:
throw std::runtime_error("Not implemented");
}