Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshalamov committed Mar 26, 2019
1 parent 37602ce commit 760a137
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/components/expression-metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,9 @@ const types = {
format: [{
type: 'formatted',
parameters: [
'input_1: string, options_1: { "font-scale": number, "text-font": array<string> }',
'input_1: string, options_1: { "font-scale": number, "text-font": array<string>, "text-color": color}',
'...',
'input_n: string, options_n: { "font-scale": number, "text-font": array<string> }'
'input_n: string, options_n: { "font-scale": number, "text-font": array<string>, "text-color": color}'
]
}],
'number-format': [{
Expand Down
2 changes: 1 addition & 1 deletion src/style-spec/reference/v8.json
Original file line number Diff line number Diff line change
Expand Up @@ -2688,7 +2688,7 @@
}
},
"format": {
"doc": "Returns `formatted` text containing annotations for use in mixed-format `text-field` entries. If set, the `text-font` argument overrides the font specified by the root layout properties. If set, the `font-scale` argument specifies a scaling factor relative to the `text-size` specified in the root layout properties.",
"doc": "Returns `formatted` text containing annotations for use in mixed-format `text-field` entries. If set, the `text-font` argument overrides the font specified by the root layout properties. If set, the `font-scale` argument specifies a scaling factor relative to the `text-size` specified in the root layout properties. If set, the `text-color` argument overrides the color specified by the paint properties for this layer.",
"group": "Types",
"sdk-support": {
"basic functionality": {
Expand Down

0 comments on commit 760a137

Please sign in to comment.