diff options
author | Cameron <cameron@mapbox.com> | 2016-10-27 10:45:37 -0400 |
---|---|---|
committer | Cameron <cameron@mapbox.com> | 2016-10-27 10:45:37 -0400 |
commit | adb13e30f81417c761dc675c98a5807bb5250e02 (patch) | |
tree | 91375701399f9eff6fc61406048ec83a0f0a070b | |
parent | c47e7b6741be44321f690fb2c0c60e5ffc429315 (diff) | |
download | qtlocation-mapboxgl-upstream/6765-document-loc-padding-units.tar.gz |
adds mylocationview padding units to documentationupstream/6765-document-loc-padding-units
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationViewSettings.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationViewSettings.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationViewSettings.java index 80bd1b3bef..3e85f55365 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationViewSettings.java +++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/widgets/MyLocationViewSettings.java @@ -198,12 +198,12 @@ public class MyLocationViewSettings { } /** - * Set the MyLocationView padding. + * Set the MyLocationView padding in pixels divided by 2. * * @param left the padding left of MyLocationView * @param top the padding top of MyLocationView * @param right the padding right of MyLocationView - * @param bottom the padding bottom of MyLocaionView + * @param bottom the padding bottom of MyLocationView */ public void setPadding(int left, int top, int right, int bottom) { padding = new int[]{left, top, right, bottom}; @@ -212,7 +212,7 @@ public class MyLocationViewSettings { } /** - * Get the MyLocationView padding. + * Get the MyLocationView padding in pixels. * * @return an array describing the padding in a LTRB manner */ |