summaryrefslogtreecommitdiff
path: root/platform/darwin/scripts/style-spec-overrides-v8.json
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2017-01-05 03:22:04 -0800
committerMinh Nguyễn <mxn@1ec5.org>2017-01-07 15:46:53 -0800
commit17b3ec1edd217b8b14d64b74cbf58b0e4ae4f241 (patch)
tree8d7a22ac6f52d5f8463b7c17d609a7d70e784dd9 /platform/darwin/scripts/style-spec-overrides-v8.json
parentd5d6bcee0f2f11cfccb3cc8ee7bc90c4f0ac74e7 (diff)
downloadqtlocation-mapboxgl-17b3ec1edd217b8b14d64b74cbf58b0e4ae4f241.tar.gz
[ios, macos] Renamed text-field, text-font, text-font-size, circle-pitch-scale
Reduced the likelihood that the developer might attempt to set textField to an NSTextField or UITextField, or textFont to an NSFont or UIFont, or textSize to a CGSize or NSSize, or circlePitchScale to a number (given iconScale).
Diffstat (limited to 'platform/darwin/scripts/style-spec-overrides-v8.json')
-rw-r--r--platform/darwin/scripts/style-spec-overrides-v8.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/platform/darwin/scripts/style-spec-overrides-v8.json b/platform/darwin/scripts/style-spec-overrides-v8.json
index f42c059f59..28740d458b 100644
--- a/platform/darwin/scripts/style-spec-overrides-v8.json
+++ b/platform/darwin/scripts/style-spec-overrides-v8.json
@@ -30,6 +30,9 @@
"icon-offset": {
"doc": "Offset distance of icon from its anchor."
},
+ "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."
+ },
"text-offset": {
"doc": "Offset distance of text from its anchor."
},