summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Firebaugh <john.firebaugh@gmail.com>2018-01-09 11:05:38 -0800
committerJohn Firebaugh <john.firebaugh@gmail.com>2018-01-09 13:37:59 -0800
commit93735b085b3fd25d4dd17426459a834823e9dcad (patch)
treedb729c0af0b64a0bcc74ac035c98f53b240aa345
parent7c7c609a0c18cc232f610b5726d0b5eec5cfad07 (diff)
downloadqtlocation-mapboxgl-93735b085b3fd25d4dd17426459a834823e9dcad.tar.gz
[ios, macos] Add documentation overrides for icon-image and text-field
-rw-r--r--platform/darwin/scripts/style-spec-overrides-v8.json6
1 files changed, 6 insertions, 0 deletions
diff --git a/platform/darwin/scripts/style-spec-overrides-v8.json b/platform/darwin/scripts/style-spec-overrides-v8.json
index 67a6641fe7..977fe92786 100644
--- a/platform/darwin/scripts/style-spec-overrides-v8.json
+++ b/platform/darwin/scripts/style-spec-overrides-v8.json
@@ -39,6 +39,12 @@
"icon-offset": {
"doc": "Offset distance of icon from its anchor."
},
+ "icon-image": {
+ "doc": "Name of image in sprite to use for drawing an image background. Within literal values, attribute names enclosed in curly brackets (e.g. `{token}`) are replaced with the value of the named attribute. Expressions do not support this syntax; for equivalent functionality in expressions, use `stringByAppendingString:` and key path expressions."
+ },
+ "text-field": {
+ "doc": "Value to use for a text label. Within literal values, attribute names enclosed in curly brackets (e.g. `{token}`) are replaced with the value of the named attribute. Expressions do not support this syntax; for equivalent functionality in expressions, use `stringByAppendingString:` and key path expressions."
+ },
"text-font": {
"doc": "An array of font face names used to display the text.\n\nEach font name must be included in the `{fontstack}` portion of the JSON stylesheet’s <a href=\"https://www.mapbox.com/mapbox-gl-style-spec/#glyphs\"><code>glyphs</code></a> property. You can register a custom font when designing the style in Mapbox Studio. Fonts installed on the system are not used.\n\nThe first font named in the array is applied to the text. For each character in the text, if the first font lacks a glyph for the character, the next font is applied as a fallback, and so on."
},