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:
- Google Maps Driving Directions gadget - useful for a "Contact Us" page
- Display region, route or location with Google Static Maps
- HOW TO visualize approximate radial distance from a fixed point on a map
- A geography game made from a mashup of Picassa & Google Maps
Comments
Post a Comment