summaryrefslogtreecommitdiff
path: root/platform/android/src/style/conversion/types.hpp
diff options
context:
space:
mode:
authorLauren Budorick <lauren@mapbox.com>2017-08-23 15:03:15 -0700
committerLauren Budorick <lauren@mapbox.com>2017-08-28 12:42:51 -0700
commitbe18e6a9bdf0b5cad38c4bab6fa391cff49d6dfd (patch)
treee930ceb8436646e0d6747f2b3e805bd640f2a436 /platform/android/src/style/conversion/types.hpp
parentc6ab20e5c69c3705422e49c3511faf3e5ab79b05 (diff)
downloadqtlocation-mapboxgl-be18e6a9bdf0b5cad38c4bab6fa391cff49d6dfd.tar.gz
Implement icon-anchor propertyupstream/icon-anchor
Diffstat (limited to 'platform/android/src/style/conversion/types.hpp')
-rw-r--r--platform/android/src/style/conversion/types.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/src/style/conversion/types.hpp b/platform/android/src/style/conversion/types.hpp
index a00f668c24..375d1a33aa 100644
--- a/platform/android/src/style/conversion/types.hpp
+++ b/platform/android/src/style/conversion/types.hpp
@@ -58,15 +58,15 @@ struct Converter<jni::jobject*, mbgl::style::IconTextFitType> {
};
template <>
-struct Converter<jni::jobject*, mbgl::style::TextJustifyType> {
- Result<jni::jobject*> operator()(jni::JNIEnv& env, const mbgl::style::TextJustifyType& value) const {
+struct Converter<jni::jobject*, mbgl::style::SymbolAnchorType> {
+ Result<jni::jobject*> operator()(jni::JNIEnv& env, const mbgl::style::SymbolAnchorType& value) const {
return convert<jni::jobject*, std::string>(env, toString(value));
}
};
template <>
-struct Converter<jni::jobject*, mbgl::style::TextAnchorType> {
- Result<jni::jobject*> operator()(jni::JNIEnv& env, const mbgl::style::TextAnchorType& value) const {
+struct Converter<jni::jobject*, mbgl::style::TextJustifyType> {
+ Result<jni::jobject*> operator()(jni::JNIEnv& env, const mbgl::style::TextJustifyType& value) const {
return convert<jni::jobject*, std::string>(env, toString(value));
}
};