summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2019-08-02 12:56:53 -0700
committerjmkiley <jordan.kiley@mapbox.com>2019-08-02 12:56:53 -0700
commit4ef5d24d3c7898000fd31dc36e27bf6f05afaa24 (patch)
treec3841f06519a7b7be6de65b1f3d1685c8cb54ee0
parentafab287553290406a6b9580d1218e2e77e4b9f1b (diff)
downloadqtlocation-mapboxgl-4ef5d24d3c7898000fd31dc36e27bf6f05afaa24.tar.gz
[ios] document scale bar visibility
-rw-r--r--platform/ios/src/MGLMapView.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/platform/ios/src/MGLMapView.h b/platform/ios/src/MGLMapView.h
index f799852fa7..5475da0b48 100644
--- a/platform/ios/src/MGLMapView.h
+++ b/platform/ios/src/MGLMapView.h
@@ -289,9 +289,16 @@ MGL_EXPORT
/**
A Boolean value indicating whether the map may display scale information.
- The scale bar may not be shown at all zoom levels. The view controlled by this
- property is available at `scaleBar`. The default value of this property is
- `NO`.
+ The scale bar may not be shown at all zoom levels. The scale bar becomes visible
+ when the maximum distance visible on the map view is less than 400 miles (800
+ kilometers). The zoom level where this occurs depends on the latitude at the map
+ view’s center coordinate, as well as the device screen width. At latitudes
+ farther from the equator, the scale bar becomes visible at lower zoom levels.
+
+ The scale bar's unit of measurement is determined by the end user's.
+
+ The view controlled by this property is available at `scaleBar`. The default value
+ of this property is `NO`.
*/
@property (nonatomic, assign) BOOL showsScale;