Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

Commit cb4dfd9

Browse files
committed
[ios, macos] Update MGLSymbolStyleLayer.text documentation.
1 parent 547d28b commit cb4dfd9

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

platform/darwin/scripts/generate-style-code.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,9 @@ global.propertyDoc = function (propertyName, property, layerType, kind) {
356356
doc += '* Constant array, whose each element is any of the following constant string values:\n';
357357
doc += Object.keys(property.values).map(value => ' * `' + value + '`: ' + property.values[value].doc).join('\n') + '\n';
358358
}
359+
if (property.type === 'formatted') {
360+
doc += '* Formatted expressions.\n';
361+
}
359362
doc += '* Predefined functions, including mathematical and string operators\n' +
360363
'* Conditional expressions\n' +
361364
'* Variable assignments and references to assigned variables\n';

platform/darwin/src/MGLSymbolStyleLayer.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,6 +1086,7 @@ MGL_EXPORT
10861086
You can set this property to an expression containing any of the following:
10871087
10881088
* Constant string values
1089+
* Formatted expressions.
10891090
* Predefined functions, including mathematical and string operators
10901091
* Conditional expressions
10911092
* Variable assignments and references to assigned variables

0 commit comments

Comments
 (0)