What browser are you using?  Does the double map happen only when you add
the hand cursor, or all the time?

On Fri, May 25, 2012 at 7:01 PM, Sachin <[email protected]> wrote:

> Hi asgallant,
> Thanks a lot for helping in. The hand cursor works but there is a problem
> in it.
> I have different methods which display region,country and cities
> separately.. I can not integrate them in one. I have also used regionClick
> and select event to highlight country from the region clicked or highlight
> cities from the country clicked.
> now the problem is when I set 'forceIFrame' option to false  then map get
> displayed two times on page load. When I click on region to highlight , 2
> more maps get visible. hence please help me to solve the problem.
>
> Thanks and regards,
> Sachin
>
> On Thursday, May 24, 2012 11:22:05 PM UTC+5:30, asgallant wrote:
>>
>> jQuery can help you here.  I haven't tested it, but in theory this should
>> work:
>>
>> Set the 'forceIFrame' option to false (best for future compatibility - it
>> can be done without this step, however).  Use a ready event handler for
>> your chart, and run this:
>>
>> google.visualization.events.ad**dListener(geochart, 'ready', f**unction (
>> ) {
>>     $('#visualization').find('**path[fill!="#f5f5f5"]').css('**cursor',
>> 'pointer');
>> });
>>
>> If you use a color other than the default for dataless regions, you will
>> need to change the '#f5f5f5' to the correct color string.  If you want a
>> hand cursor to appear for dataless regions too, then you can omit the '
>> [fill!="#f5f5f5"]'.
>>
>> On Thursday, May 24, 2012 1:07:35 PM UTC-4, Sachin wrote:
>>>
>>> Hi,
>>>
>>> I am using Google Visualization Geochart API for one of the
>>> applications.
>>> My query is that in any case can change the mouse cursor to a hand
>>> cursor or any other type on mousehover on any regions or markers?
>>>
>>> please let me know if there is any way.
>>>
>>> Thanks and Regards,
>>> Sachin
>>>
>>  --
> 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/-/k86YxX6rkZIJ.
>
> 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.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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