diff options
author | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2019-03-22 13:45:39 -0700 |
---|---|---|
committer | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2019-03-22 15:08:58 -0700 |
commit | 79582487aa69569933e38cadc0faf5ea04711303 (patch) | |
tree | 7f44ae7c6654171fd58faaafd6bfd3ab7e9306aa /platform/macos/docs/guides/For Style Authors.md | |
parent | be46a707f992ce48e65163353924e0d7be25c722 (diff) | |
download | qtlocation-mapboxgl-79582487aa69569933e38cadc0faf5ea04711303.tar.gz |
[ios, macos] Support expressions in formatting parameters. (#14198)
Modified MGLAttributedExpression object to support NSExpressions as formatting attributes only. This aligns with GL and Android implementation and specification.
Modified the documentation accordingly, and changed MGLFontSizeAttribute to MGLFontScaleAttribute to clarify the true function of the formatting parameter.
Diffstat (limited to 'platform/macos/docs/guides/For Style Authors.md')
-rw-r--r-- | platform/macos/docs/guides/For Style Authors.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/macos/docs/guides/For Style Authors.md b/platform/macos/docs/guides/For Style Authors.md index 220ce3d50e..5a81eb3593 100644 --- a/platform/macos/docs/guides/For Style Authors.md +++ b/platform/macos/docs/guides/For Style Authors.md @@ -419,7 +419,7 @@ can use to update the formatting of `MGLSymbolStyleLayer.text` property. In style JSON | In Objective-C | In Swift --------------|-----------------------|--------- `text-font` | `MGLFontNamesAttribute` | `.fontNamesAttribute` -`font-scale` | `MGLFontSizeAttribute` | `.fontSizeAttribute` +`font-scale` | `MGLFontScaleAttribute` | `.fontScaleAttribute` `text-color` | `MGLFontColorAttribute` | `.fontColorAttribute` See the “[Predicates and Expressions](predicates-and-expressions.html)” guide for |