diff options
author | Łukasz Paczos <lukasz.paczos@mapbox.com> | 2018-04-17 09:49:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-17 09:49:38 +0200 |
commit | 2fd48fdfa002bf62701e8ca13f3a899845e62bae (patch) | |
tree | c2ce327c124717e9b31d36818015016e1f3bc378 /platform | |
parent | 7397a3e90c948745ecd90e4a233d62371ab0b418 (diff) | |
download | qtlocation-mapboxgl-2fd48fdfa002bf62701e8ca13f3a899845e62bae.tar.gz |
[android] - match expression doc tweaks (#11691)
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java | 4 |
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> |