diff options
author | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2018-05-07 12:01:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-07 12:01:29 -0400 |
commit | a425995189c3f4c9d9040b4acff477bfc96b6afd (patch) | |
tree | cf7b68e96f6eb9c0d8066151969c42bbfc0b4763 /platform/macos/docs | |
parent | a4892231544ccf6fcbe6dc233b5462f550cbbbcc (diff) | |
download | qtlocation-mapboxgl-a425995189c3f4c9d9040b4acff477bfc96b6afd.tar.gz |
[ios, macos] Add to-rgba expression operator. (#11725)
* [ios, macos] Add expression support to to-rgba operator.
* [ios, macos] Update style docs.
* [ios, macos] Refactored to-rgba to to-color.
* [ios, macos] Add support for to-rgba expression operator.
* [ios, macos] Add multiple parameters support to to-color operand.
* [ios, macos] Enable to-rgba operator for MGLColor or key path expressions.
* [ios, macos] Update predicates and expressions guide to reflect cast changes.
* [ios, macos] Update changelogs.
* [ios, macos] Clarify color casting usage.
Diffstat (limited to 'platform/macos/docs')
-rw-r--r-- | platform/macos/docs/guides/For Style Authors.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/macos/docs/guides/For Style Authors.md b/platform/macos/docs/guides/For Style Authors.md index 73c4f1105a..08385a66d9 100644 --- a/platform/macos/docs/guides/For Style Authors.md +++ b/platform/macos/docs/guides/For Style Authors.md @@ -318,7 +318,7 @@ In style specification | Method, function, or predicate type | Format string syn `number` | | `string` | | `to-boolean` | `boolValue` | -`to-color` | | +`to-color` | | `CAST(var, 'NSColor')` `to-number` | `mgl_numberWithFallbackValues:` | `CAST(zipCode, 'NSNumber')` `to-string` | `stringValue` | `CAST(ele, 'NSString')` `typeof` | | @@ -350,7 +350,7 @@ In style specification | Method, function, or predicate type | Format string syn `upcase` | `uppercase:` | `uppercase('Elysian Fields')` `rgb` | `+[NSColor colorWithCalibratedRed:green:blue:alpha:]` | `rgba` | `+[NSColor colorWithCalibratedRed:green:blue:alpha:]` | -`to-rgba` | | +`to-rgba` | | `CAST(noindex(var), 'NSArray')` `-` | `from:subtract:` | `2 - 1` `*` | `multiply:by:` | `1 * 2` `/` | `divide:by:` | `1 / 2` |