dime-worldbank / googletraffic

R package to query Google Maps traffic data and transform into data
Other
58 stars 9 forks source link

Change traffic colours #13

Closed tlhenvironment closed 10 months ago

tlhenvironment commented 10 months ago

Made a quick fix to update the colour scheme, since Google changed it earlier. E.g. https://www.cnbc.com/2023/11/29/google-maps-new-colors-upset-some-including-former-designer.html

ramarty commented 10 months ago

Thanks so much @tlhenvironment! I tested out with both the original and new colors, and it seems like the original ones still seem to work better.

The colors have clearly changed in the web based google maps, but maybe not using the javascript api (yet!)

See screenshots below of a (1) PNG snapshot and (2) raster from that (using the original colors).

But I've just commented out the colors you included, so figure it's just a matter of time before need to update with those.

trafficpng

trafficraster

tlhenvironment commented 10 months ago

Ah ok, thanks for testing! I just assumed that the API and the web version had the same changes. Great package btw :)