diff options
author | Jordan Kiley <jmkiley@users.noreply.github.com> | 2017-05-01 15:42:54 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-01 15:42:54 -0700 |
commit | a3e4e67ea68c455178d5c5ef3d864972fcf41147 (patch) | |
tree | 90d5e024feb39e0cfc7169ba5a97efeae98c2006 /platform | |
parent | ed2ccda0e911b3305bb0f587c00c01bad3bd31d2 (diff) | |
download | qtlocation-mapboxgl-a3e4e67ea68c455178d5c5ef3d864972fcf41147.tar.gz |
[ios, macos] Updated `maximumZoomLevel` description, cherry-picked #8818 (#8842)
Diffstat (limited to 'platform')
-rw-r--r-- | platform/darwin/src/MGLStyleLayer.h | 4 | ||||
-rw-r--r-- | platform/ios/docs/guides/Working with Mapbox Studio.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/src/MGLStyleLayer.h b/platform/darwin/src/MGLStyleLayer.h index f81643edd7..ac9b739c74 100644 --- a/platform/darwin/src/MGLStyleLayer.h +++ b/platform/darwin/src/MGLStyleLayer.h @@ -63,12 +63,12 @@ MGL_EXPORT @property (nonatomic, assign, getter=isVisible) BOOL visible; /** - The maximum zoom level at which the layer gets parsed and appears. + The maximum zoom level at which the layer gets parsed and appears. This value is a floating-point number. */ @property (nonatomic, assign) float maximumZoomLevel; /** - The minimum zoom level at which the layer gets parsed and appears. + The minimum zoom level at which the layer gets parsed and appears. This value is a floating-point number. */ @property (nonatomic, assign) float minimumZoomLevel; diff --git a/platform/ios/docs/guides/Working with Mapbox Studio.md b/platform/ios/docs/guides/Working with Mapbox Studio.md index 959731a3a7..232b165efd 100644 --- a/platform/ios/docs/guides/Working with Mapbox Studio.md +++ b/platform/ios/docs/guides/Working with Mapbox Studio.md @@ -76,7 +76,7 @@ To implement your prototypes with runtime styling: 1. Implement `-[MGLMapViewDelegate mapView:didFinishLoadingStyle:]`. 2. Add your real data as a source: - * This can be done using vector data from tileset editor ([example](https://www.mapbox.com/ios-sdk/examples/runtime-circle-styles)), custom vector tiles, added as GeoJSON ([example](https://www.mapbox.com/ios-sdk/examples/runtime-add-line), or added manually through the app via `MGLShapeSource` ([example](https://www.mapbox.com/ios-sdk/examples/runtime-multiple-annotations)) + * This can be done using vector data from tileset editor ([example](https://www.mapbox.com/ios-sdk/examples/dds-circle-layer)), custom vector tiles, added as GeoJSON ([example](https://www.mapbox.com/ios-sdk/examples/runtime-add-line), or added manually through the app via `MGLShapeSource` ([example](https://www.mapbox.com/ios-sdk/examples/runtime-multiple-annotations)) 3. For each layer you’ve prototyped in Studio, add its corresponding `MGLStyleLayer` subclass. See [“Configuring the map content’s appearance”](for-style-authors.html#configuring-the-map-content-s-appearance) for the available style layer classes. **Translating style attributes from Studio** |