summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2018-04-16 18:41:21 +0200
committerŁukasz Paczos <lukas.paczos@gmail.com>2018-04-16 18:41:21 +0200
commit7dc8f64b4487180faac9181ffdf811ccec3ea5fb (patch)
treef7bc151d90c474bf2963f915096879dab9acfb8a
parentff11cb20163caddf5e31ebdaeaafa0e1a9e456ec (diff)
downloadqtlocation-mapboxgl-upstream/lp-match-expression-doc.tar.gz
[android] - match expression doc tweaksupstream/lp-match-expression-doc
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java
index fa4a802e13..bd5b40c6ce 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java
@@ -956,6 +956,8 @@ public class Expression {
* Selects the output whose label value matches the input value, or the fallback value if no match is found.
* The `input` can be any string or number expression.
* Each label can either be a single literal value or an array of values.
+ * If types of the input and keys don't match, or the input value doesn't exist,
+ * the expresion will fail without falling back to the default value.
* <p>
* Example usage:
* </p>
@@ -986,6 +988,8 @@ public class Expression {
* Selects the output whose label value matches the input value, or the fallback value if no match is found.
* The `input` can be any string or number expression.
* Each label can either be a single literal value or an array of values.
+ * If types of the input and keys don't match, or the input value doesn't exist,
+ * the expresion will fail without falling back to the default value.
* <p>
* Example usage:
* </p>