summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKa-Ping Yee <zestyping@gmail.com>2019-04-22 04:36:48 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2019-05-22 16:13:09 +0200
commit4224b89a9cf624f08bf96d36702c8b8d8de6554f (patch)
tree0db7ad49bda50d3d5e7cdf456bc81c0b184e2a67
parent470b99e7957b44fb929fe95d0a8b58c41583e7f6 (diff)
downloadqtlocation-mapboxgl-4224b89a9cf624f08bf96d36702c8b8d8de6554f.tar.gz
[android] document that elevation(0) turns off the location shadow
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java
index eb74cc7066..2e1630031f 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/location/LocationComponentOptions.java
@@ -578,7 +578,8 @@ public class LocationComponentOptions implements Parcelable {
}
/**
- * Sets the base elevation of this view, in pixels.
+ * Sets the base elevation of this view, in pixels. To turn off the shadow that appears under
+ * the location icon, set the elevation to 0.
*
* @return the elevation currently set for the location component icon
* @attr ref R.styleable#LocationComponent_elevation