You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p><em><ahref="#paint">Paint</a> property. Optional <ahref="../types/#array">array</a> in range [0, ∞). Units in line widths. Disabled by <code>line-pattern</code>. Transitionable.</em></p>
5178
-
<p>Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. Note that GeoJSON sources with <code>lineMetrics: true</code> specified won't render dashed lines to the expected scale. Also note that zoom-dependent expressions will be evaluated only at integer zoom levels.</p>
5178
+
<p>Specifies the lengths of the alternating dashes and gaps that form the dash pattern. The lengths are later scaled by the line width. To convert a dash length to pixels, multiply the length by the current line width. GeoJSON sources with <code>lineMetrics: true</code> specified won't render dashed lines to the expected scale. Zoom-dependent expressions will be evaluated only at integer zoom levels. The only way to create an array value is using <code>["literal", [...]]</code>; arrays cannot be read from or derived from feature properties.</p>
0 commit comments