diff options
author | John Firebaugh <john.firebaugh@gmail.com> | 2018-01-09 11:05:38 -0800 |
---|---|---|
committer | John Firebaugh <john.firebaugh@gmail.com> | 2018-01-10 11:15:49 -0800 |
commit | 3fd95b4e850ba9a68637061b20f374387c64f35e (patch) | |
tree | d590dafabf6cbb5813ce01c556d36d7cc800b895 /platform/darwin | |
parent | 7ca62ec602f6141d67559698a3d04e035e916437 (diff) | |
download | qtlocation-mapboxgl-3fd95b4e850ba9a68637061b20f374387c64f35e.tar.gz |
[ios, macos] Add documentation overrides for icon-image and text-field
Diffstat (limited to 'platform/darwin')
-rw-r--r-- | platform/darwin/scripts/style-spec-overrides-v8.json | 6 |
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." }, |