summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLLineStyleLayer.h
diff options
context:
space:
mode:
authorLauren Budorick <lauren@mapbox.com>2018-04-16 17:38:53 -0700
committerLauren Budorick <lauren@mapbox.com>2018-04-16 17:38:53 -0700
commitcfd97e5ceaa7b88d591bdb730ae1e9b70dcaa5f5 (patch)
tree781f03674488d8a5cc1e8388d5b85c9a0766bb0c /platform/darwin/src/MGLLineStyleLayer.h
parent8b10bb38c0a7d6e0a1225e185acde5ec8a604bdc (diff)
downloadqtlocation-mapboxgl-cfd97e5ceaa7b88d591bdb730ae1e9b70dcaa5f5.tar.gz
Bump gl-js pin: ignore line-gradient properties + shaders, use new expression style-spec taxonomyupstream/expression-spec
Diffstat (limited to 'platform/darwin/src/MGLLineStyleLayer.h')
-rw-r--r--platform/darwin/src/MGLLineStyleLayer.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLLineStyleLayer.h b/platform/darwin/src/MGLLineStyleLayer.h
index 003f48ae43..e8312d93af 100644
--- a/platform/darwin/src/MGLLineStyleLayer.h
+++ b/platform/darwin/src/MGLLineStyleLayer.h
@@ -278,7 +278,10 @@ MGL_EXPORT
/**
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 points, multiply the length by the current line width.
+ length to points, multiply the length by the current line width. Note that
+ GeoJSON sources with `lineMetrics: true` specified won't render dashed lines to
+ the expected scale. Also note that zoom-dependent expressions will be evaluated
+ only at integer zoom levels.
This property is measured in line widths.