Google Geochart Border Color

Is there any way to adjust the borders of a region’s borders in Google Geocharts? The API mentions stroking the background, but not stroking the area.

+4
source share
1 answer

You cannot do this with the API settings, but you can do it with CSS.

#map_canvas path { stroke-width:1; /* control the countries borders width */ stroke:#6699cc; /* choose a color for the border */ } 

You can see this in action on my website, here: http://cmoreira.net/interactive-world-maps-demo/advanced-customization/ I am also trying to document advanced CSS settings.

Hope this helps! Greetings

+14
source

All Articles