summaryrefslogtreecommitdiff
path: root/platform/darwin/docs/guides
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-01-02 15:54:17 -0800
committerMinh Nguyễn <mxn@1ec5.org>2017-01-07 14:37:53 -0800
commit80df3090ecc92a4c04890222928f352aaf467b27 (patch)
tree2963df50f43edc3e09a75c1df868b2f8bf3d69ae /platform/darwin/docs/guides
parent428c0fdf70d08dfe433058a66a61bf9c4fb93d9d (diff)
downloadqtlocation-mapboxgl-80df3090ecc92a4c04890222928f352aaf467b27.tar.gz
[ios, macos] Split NSValue+MGLStyleEnumAttributeAdditions category per style layer type
Also renamed the file to have a slightly more wieldy name.
Diffstat (limited to 'platform/darwin/docs/guides')
-rw-r--r--platform/darwin/docs/guides/For Style Authors.md.ejs6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/darwin/docs/guides/For Style Authors.md.ejs b/platform/darwin/docs/guides/For Style Authors.md.ejs
index cbe38ff6ba..4ead778c03 100644
--- a/platform/darwin/docs/guides/For Style Authors.md.ejs
+++ b/platform/darwin/docs/guides/For Style Authors.md.ejs
@@ -3,7 +3,7 @@
const iOS = os === 'iOS';
const macOS = os === 'macOS';
const cocoaPrefix = iOS ? 'UI' : 'NS';
- const types = locals.types;
+ const layers = locals.layers;
const renamedProperties = locals.renamedProperties;
-%>
<!--
@@ -227,8 +227,8 @@ object is a member of one of the following subclasses of `MGLStyleLayer`:
In style JSON | In the SDK
--------------|-----------
-<% for (const type of types) { -%>
-`<%- type %>` | `MGL<%- camelize(type) %>StyleLayer`
+<% for (const layer of layers) { -%>
+`<%- layer.type %>` | `MGL<%- camelize(layer.type) %>StyleLayer`
<% } -%>
You configure layout and paint attributes by setting properties on these style