summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLStyleLayer.h
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2017-04-14 16:49:24 -0700
committerjmkiley <jordan.kiley@mapbox.com>2017-04-14 16:49:24 -0700
commite7b217d214df74598f8dd1fdf95c78c1d724845f (patch)
treea74aec763d60b197d43108ae22cc5fcb557dd0ad /platform/darwin/src/MGLStyleLayer.h
parent09a22715769c629ad433b405908b60e1b9fa969b (diff)
downloadqtlocation-mapboxgl-e7b217d214df74598f8dd1fdf95c78c1d724845f.tar.gz
[ios, macos] revised some warnings in abstract classesupstream/jmkiley-update-initializer-docs
Diffstat (limited to 'platform/darwin/src/MGLStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLStyleLayer.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/platform/darwin/src/MGLStyleLayer.h b/platform/darwin/src/MGLStyleLayer.h
index d68aee29bc..5966350ab1 100644
--- a/platform/darwin/src/MGLStyleLayer.h
+++ b/platform/darwin/src/MGLStyleLayer.h
@@ -14,10 +14,8 @@ NS_ASSUME_NONNULL_BEGIN
`MGLStyleLayer` object, which you can use to refine the map’s appearance. You
can also add and remove style layers dynamically.
- Do not create instances of this class directly, and do not create your own
- subclasses of this class. Instead, create instances of
- `MGLBackgroundStyleLayer` and the concrete subclasses of
- `MGLForegroundStyleLayer`.
+ Create instances of `MGLBackgroundStyleLayer` and the concrete subclasses of
+ `MGLForegroundStyleLayer` in order to use `MGLStyleLayer` properties.
Do not add `MGLStyleLayer` objects to the `style` property of a `MGLMapView` before
`-mapView:didFinishLoadingStyle:` is called.