Here's some sample code for a map that highlights the selected state when
clicked:
http://jsfiddle.net/b3mus/3/

It just does so by changing the data to show that whatever state was
clicked has data, and redraws.

Here's the full reference for the GeoChart:
https://developers.google.com/chart/interactive/docs/gallery/geochart

and the event handling:
https://developers.google.com/chart/interactive/docs/events

We make use of the 'regionClick' event handler to achieve the interactivity.

Cheers,
Tom

Thomas Rybka | Software Engineer | [email protected] | GViz


On Thu, Mar 21, 2013 at 6:25 AM, KUTTIKRISHNAN P <[email protected]> wrote:

> Hi ,
>
> I would like to draw a GeoMap as shown below . I am preferring the same
> through using HTML4/HTML5 (No plan to use any Flash player) . Please help
> to draw the same . Also In the map while clicking on individual state the
> color of the same should change .
>
>
> Thanks & Regards,
> Kutti
>
>
> <https://lh6.googleusercontent.com/-4JPr5B2n7A4/UUrf31msVSI/AAAAAAAAAGs/Gt_TLYLO7xo/s1600/USGeoMap.png>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to