HOW TO highlight a Province within a Country with Google GeoChart


After deprecating Image Charts within Map Charts, Google has added Geochart & Geomap as part of the Google Visualization API. A Geochart is rendered within the browser using SVG or VML while Geomap is rendered using an embeddable Flash player. Both types of maps don't allow dragging or scrolling.

I adapted a code sample meant to show a chosen State in USA to highlight a chosen State in India.



You can adapt the original sample to make it work for any country. You have to use the ISO 3166-2 Province/State codes (example: India) for the Country you choose.

Also see:



Comments