-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add linestring viz #81
Comments
@ryanbaumann in terms of styled elements of a LineStringViz, I'm thinking color and width could both be data-driven. This is slightly different from the Choropleth approach, which defines a single line color/stroke/width for the entire map. Anything else you want to add? I can open a PR this afternoon for this. |
Agree with color and width being the two major features to control, @akacarlyann. It's similar to the Choropleth, just Choropleth uses color and height, while Linestring uses color and width. Obviously excited to review a PR, if you have one! |
Rough start at #92. Found I might want to generalize mapboxgl.utils.height_map from use in ChoroplethViz first too. |
Great @akacarlyann. We can open up a separate PR to address the |
Closed in #92 |
Create a new Viz class tyle, LinestringViz, that allows a user to create a line map from a geojson source or a vector tile source. Follow the same techniques used to make the Choropleth Viz. #40
Example:
The text was updated successfully, but these errors were encountered: