Sure, you can do that.  Just replace the "window.open(...)" call (in the 
'select' event handler in Marc's example code) with whatever code you need 
to use to display the content you want.

On Tuesday, June 26, 2012 1:42:14 AM UTC-4, Andrea Nelson Mauro wrote:
>
> Marc: i'm looking for something like this, but the onclick event could be 
> an alert box or (better) some lightbox, or parent object (better+)...
>
> Il giorno martedì 26 giugno 2012 01:44:45 UTC+2, Marc Lucchini ha scritto:
>>
>> You'll have to listen to the 
>> "select<https://developers.google.com/chart/interactive/docs/gallery/geochart#Events>"
>>  
>> or the 
>> "regionClick<https://developers.google.com/chart/interactive/docs/gallery/geochart#Events>"
>>  
>> event.
>> An example using the select event: http://jsfiddle.net/dz2xS
>>
>> If your country pages already exist and you can't or don't want to change 
>> their URLs, you may have to put these URLs in your datatable and pass a 
>> dataview to the geochart.
>>
>> Le lundi 25 juin 2012 23:25:41 UTC+2, Susanna Murley a écrit :
>>>
>>> I want to create a geochart that allows me to set urls for regions. For 
>>> example, if someone clicks on California in my map, I want it to link to a 
>>> separate page on my site. How do I do this?
>>
>>

-- 
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/-/jZV7GfguRHkJ.
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.

Reply via email to