At a glance, your code looks to be compatible with the GeoCharts - just
change the package from 'geomap' to 'geochart'. Also of note, the
GeoCharts support an option that might be a good end-route for the
color-array generating code you have in there:
colorAxis: {
values: [minValue, 0, maxValue],
colors: ['#FF0000', '#FFFFFF', '#00FF00']
}
This assigns each value in the 'values' array to a color in the 'colors'
array, and the chart applies a gradient between the colors for values in
between.
--
You received this message because you are subscribed to the Google Groups
"Google Visualization API" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-visualization-api/-/yKjgZ8zBf-4J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-visualization-api?hl=en.