-
Notifications
You must be signed in to change notification settings - Fork 38
Support gradient-colored shapes #349
Comments
See also mapbox/mapbox-gl-js#748. |
I think the style spec side here is totally doable but the hard part is going to be data representation: GeoJSON and lots of other formats are derived at a basic level from the Simple Features Spec, which, in its definition of 'simple' does not include the concept of values differing along lines, which is how I'd assume you would want to control the color of the line. The GPX and OSM formats do support this, and I have a proposal for an add-on spec for GeoJSON. Vector tiles, as far as I know, don't support values along lines. |
While this is being considered, it would also be useful to be able to have polylines where the dashing varies along the line too. So you can make certain sections as dotted, for example. |
+1 |
+1 |
Any progress on this? |
This issue was moved to mapbox/mapbox-gl-js#4095 |
It would be useful to support gradient-colored lines, fills, and backgrounds. What would the stylesheet syntax look like? How would this work with data-driven styling?
ref mapbox/mapbox-gl-native#2142
cc @webventil
The text was updated successfully, but these errors were encountered: