@mapbox/mapbox-gl-style-spec 13.20.1 → 13.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 13.21.0
2
+
3
+ ### ✨ Features and improvements
4
+ * Add support for `text-writing-mode` property when using `symbol-placement: line` text labels. ([#10647](https://github.com/mapbox/mapbox-gl-js/pull/10647))
5
+ * Note: This change will bring following changes for CJK text block:
6
+ * 1. For vertical CJK text, all the characters including Latin and Numbers will be vertically placed now. Previously, Latin and Numbers are horizontally placed.
7
+ * 2. For horizontal CJK text, it may have a slight horizontal shift due to the anchor shift.
8
+
1
9
  ## 13.20.1
2
10
 
3
11
  ### 🐞 Bug fixes
package/dist/index.cjs CHANGED
@@ -621,7 +621,9 @@
621
621
  doc: "A spherical dome around the map that is always rendered behind all other layers.",
622
622
  "sdk-support": {
623
623
  "basic functionality": {
624
- js: "2.0.0"
624
+ js: "2.0.0",
625
+ ios: "10.0.0",
626
+ android: "10.0.0"
625
627
  }
626
628
  }
627
629
  }
@@ -717,7 +719,9 @@
717
719
  doc: "Whether this layer is displayed.",
718
720
  "sdk-support": {
719
721
  "basic functionality": {
720
- js: "2.0.0"
722
+ js: "2.0.0",
723
+ ios: "10.0.0",
724
+ android: "10.0.0"
721
725
  }
722
726
  },
723
727
  "property-type": "constant"
@@ -1812,7 +1816,12 @@
1812
1816
  units: "ems",
1813
1817
  doc: "The maximum line width for text wrapping.",
1814
1818
  requires: [
1815
- "text-field"
1819
+ "text-field",
1820
+ {
1821
+ "symbol-placement": [
1822
+ "point"
1823
+ ]
1824
+ }
1816
1825
  ],
1817
1826
  "sdk-support": {
1818
1827
  "basic functionality": {
@@ -2131,20 +2140,15 @@
2131
2140
  value: "enum",
2132
2141
  values: {
2133
2142
  horizontal: {
2134
- doc: "If a text's language supports horizontal writing mode, symbols with point placement would be laid out horizontally."
2143
+ doc: "If a text's language supports horizontal writing mode, symbols would be laid out horizontally."
2135
2144
  },
2136
2145
  vertical: {
2137
- doc: "If a text's language supports vertical writing mode, symbols with point placement would be laid out vertically."
2146
+ doc: "If a text's language supports vertical writing mode, symbols would be laid out vertically."
2138
2147
  }
2139
2148
  },
2140
- doc: "The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. The order of elements in an array define priority order for the placement of an orientation variant.",
2149
+ doc: "The property allows control over a symbol's orientation. Note that the property values act as a hint, so that a symbol whose language doesn’t support the provided orientation will be laid out in its natural orientation. Example: English point symbol will be rendered horizontally even if array value contains single 'vertical' enum value. For symbol with point placement, the order of elements in an array define priority order for the placement of an orientation variant. For symbol with line placement, the default text writing mode is either ['horizontal', 'vertical'] or ['vertical', 'horizontal'], the order doesn't affect the placement.",
2141
2150
  requires: [
2142
- "text-field",
2143
- {
2144
- "symbol-placement": [
2145
- "point"
2146
- ]
2147
- }
2151
+ "text-field"
2148
2152
  ],
2149
2153
  "sdk-support": {
2150
2154
  "basic functionality": {
@@ -2622,7 +2626,7 @@
2622
2626
  }
2623
2627
  },
2624
2628
  "in": {
2625
- doc: "Determines whether an item exists in an array or a substring exists in a string.",
2629
+ doc: "Determines whether an item exists in an array or a substring exists in a string. In the specific case when the second and third arguments are string literals, you must wrap at least one of them in a [`literal`](#types-literal) expression to hint correct interpretation to the [type system](#type-system).",
2626
2630
  group: "Lookup",
2627
2631
  "sdk-support": {
2628
2632
  "basic functionality": {
@@ -2890,7 +2894,10 @@
2890
2894
  group: "Types",
2891
2895
  "sdk-support": {
2892
2896
  "basic functionality": {
2893
- js: "0.54.0"
2897
+ js: "0.54.0",
2898
+ android: "8.4.0",
2899
+ ios: "5.4.0",
2900
+ macos: "0.15.0"
2894
2901
  }
2895
2902
  }
2896
2903
  },
@@ -3036,7 +3043,7 @@
3036
3043
  }
3037
3044
  },
3038
3045
  "geometry-type": {
3039
- doc: "Gets the feature's geometry type: `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`.",
3046
+ doc: "Gets the feature's geometry type: `Point`, `MultiPoint`, `LineString`, `MultiLineString`, `Polygon`, `MultiPolygon`. `Multi*` feature types are only returned in GeoJSON sources. When working with vector tile sources, use the singular forms.",
3040
3047
  group: "Feature data",
3041
3048
  "sdk-support": {
3042
3049
  "basic functionality": {
@@ -3100,7 +3107,9 @@
3100
3107
  group: "sky",
3101
3108
  "sdk-support": {
3102
3109
  "basic functionality": {
3103
- js: "2.0.0"
3110
+ js: "2.0.0",
3111
+ ios: "10.0.0",
3112
+ android: "10.0.0"
3104
3113
  }
3105
3114
  }
3106
3115
  },
@@ -3109,7 +3118,10 @@
3109
3118
  group: "Feature data",
3110
3119
  "sdk-support": {
3111
3120
  "basic functionality": {
3112
- js: "0.53.0"
3121
+ js: "0.53.0",
3122
+ android: "8.4.0",
3123
+ ios: "5.5.0",
3124
+ macos: "0.15.0"
3113
3125
  }
3114
3126
  }
3115
3127
  },
@@ -3788,7 +3800,9 @@
3788
3800
  required: true,
3789
3801
  "sdk-support": {
3790
3802
  "basic functionality": {
3791
- js: "2.0.0"
3803
+ js: "2.0.0",
3804
+ ios: "10.0.0",
3805
+ android: "10.0.0"
3792
3806
  }
3793
3807
  }
3794
3808
  },
@@ -3808,7 +3822,9 @@
3808
3822
  doc: "Exaggerates the elevation of the terrain by multiplying the data from the DEM with this value.",
3809
3823
  "sdk-support": {
3810
3824
  "basic functionality": {
3811
- js: "2.0.0"
3825
+ js: "2.0.0",
3826
+ ios: "10.0.0",
3827
+ android: "10.0.0"
3812
3828
  }
3813
3829
  }
3814
3830
  }
@@ -5731,7 +5747,9 @@
5731
5747
  doc: "The type of the sky",
5732
5748
  "sdk-support": {
5733
5749
  "basic functionality": {
5734
- js: "2.0.0"
5750
+ js: "2.0.0",
5751
+ ios: "10.0.0",
5752
+ android: "10.0.0"
5735
5753
  }
5736
5754
  },
5737
5755
  expression: {
@@ -5759,7 +5777,9 @@
5759
5777
  doc: "Position of the sun center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the sun relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the sun, where 0° is directly above, at zenith, and 90° at the horizon. When this property is ommitted, the sun center is directly inherited from the light position.",
5760
5778
  "sdk-support": {
5761
5779
  "basic functionality": {
5762
- js: "2.0.0"
5780
+ js: "2.0.0",
5781
+ ios: "10.0.0",
5782
+ android: "10.0.0"
5763
5783
  }
5764
5784
  },
5765
5785
  requires: [
@@ -5789,7 +5809,9 @@
5789
5809
  doc: "Intensity of the sun as a light source in the atmosphere (on a scale from 0 to a 100). Setting higher values will brighten up the sky.",
5790
5810
  "sdk-support": {
5791
5811
  "basic functionality": {
5792
- js: "2.0.0"
5812
+ js: "2.0.0",
5813
+ ios: "10.0.0",
5814
+ android: "10.0.0"
5793
5815
  }
5794
5816
  },
5795
5817
  "property-type": "data-constant"
@@ -5820,7 +5842,9 @@
5820
5842
  doc: "Position of the gradient center [a azimuthal angle, p polar angle]. The azimuthal angle indicates the position of the gradient center relative to 0° north, where degrees proceed clockwise. The polar angle indicates the height of the gradient center, where 0° is directly above, at zenith, and 90° at the horizon.",
5821
5843
  "sdk-support": {
5822
5844
  "basic functionality": {
5823
- js: "2.0.0"
5845
+ js: "2.0.0",
5846
+ ios: "10.0.0",
5847
+ android: "10.0.0"
5824
5848
  }
5825
5849
  },
5826
5850
  expression: {
@@ -5845,7 +5869,9 @@
5845
5869
  doc: "The angular distance (measured in degrees) from `sky-gradient-center` up to which the gradient extends. A value of 180 causes the gradient to wrap around to the opposite direction from `sky-gradient-center`.",
5846
5870
  "sdk-support": {
5847
5871
  "basic functionality": {
5848
- js: "2.0.0"
5872
+ js: "2.0.0",
5873
+ ios: "10.0.0",
5874
+ android: "10.0.0"
5849
5875
  }
5850
5876
  },
5851
5877
  expression: {
@@ -5880,7 +5906,9 @@
5880
5906
  ],
5881
5907
  "sdk-support": {
5882
5908
  "basic functionality": {
5883
- js: "2.0.0"
5909
+ js: "2.0.0",
5910
+ ios: "10.0.0",
5911
+ android: "10.0.0"
5884
5912
  },
5885
5913
  "data-driven styling": {
5886
5914
  }
@@ -5905,7 +5933,9 @@
5905
5933
  ],
5906
5934
  "sdk-support": {
5907
5935
  "basic functionality": {
5908
- js: "2.0.0"
5936
+ js: "2.0.0",
5937
+ ios: "10.0.0",
5938
+ android: "10.0.0"
5909
5939
  }
5910
5940
  },
5911
5941
  "property-type": "data-constant"
@@ -5922,7 +5952,9 @@
5922
5952
  ],
5923
5953
  "sdk-support": {
5924
5954
  "basic functionality": {
5925
- js: "2.0.0"
5955
+ js: "2.0.0",
5956
+ ios: "10.0.0",
5957
+ android: "10.0.0"
5926
5958
  }
5927
5959
  },
5928
5960
  "property-type": "data-constant"
@@ -5936,7 +5968,9 @@
5936
5968
  transition: true,
5937
5969
  "sdk-support": {
5938
5970
  "basic functionality": {
5939
- js: "2.0.0"
5971
+ js: "2.0.0",
5972
+ ios: "10.0.0",
5973
+ android: "10.0.0"
5940
5974
  }
5941
5975
  },
5942
5976
  expression: {
@@ -6305,6 +6339,7 @@
6305
6339
  "sdk-support": {
6306
6340
  "basic functionality": {
6307
6341
  js: "0.50.0",
6342
+ android: "7.0.0",
6308
6343
  ios: "4.7.0",
6309
6344
  macos: "0.13.0"
6310
6345
  }