DEV Community

Cover image for Give Streets Colors That Represent A Data Set
Enshinyan
Enshinyan

Posted on

Give Streets Colors That Represent A Data Set

Hello. I'm interested in customizing the streets that can be color coded based on a set of values that I assign. For example, a 1 mile street named 1st street intersects with another 2 mile street called 2nd street. 1st street will be colored BLUE for the first 1/2 mile, and then will change to GREEN for the other half, which is the part of the street that intersects 2nd street. What I'm trying to do is very similar to what google maps does by coloring road/road-sections in relation to the level of traffic on that specific part of the road. The cover shows an example of google maps color-coding their streets based on traffic congestion.

Oldest comments (0)