Hi
Seems this issue exists after more than one year and several updates on 
Safari and iOS. 
Is there any workaround we can implement to have the HTML tooltips with the 
select event working on iOS devices?


On Monday, April 7, 2014 at 6:34:45 PM UTC+2, Carlos Moreira wrote:
>
> Hi guys
> Not sure this is an API problem, or a javascript problem.
> I've got this code that works very well everywhere except on iOS devices:
> http://jsfiddle.net/cmoreira/acS65/ 
>
> I have objects with the map data and then I build the map according to 
> that data. 
> I've modified the code a bit for example purposes, so there might be 
> unecessary code. 
> But I guess the important code is the getSelection one:
>
> google.visualization.events.addListener(geocharts[key], 'select', 
> (function(x) {
>              return function () {
>
>                 var selection = geocharts[x].getSelection();
>                 
>                 if (selection.length == 1) {
>                     
>                     var selectedRow = selection[0].row;
>                     var selectedRegion = data[x].getValue(selectedRow, 0);
>                     
>                     //console.log(values[x][selectedRegion]);
>                     
>                     if(values[x][selectedRegion]!=""){
>                    
>                     alert(values[x][selectedRegion]);
>                        
>                     
>                     }
>                 }
>             }
>         })(key));
>
>
>
> This doesn't seem to be working in iOS. 
> Any advice on what I could be doing wrong? 
>
> Thanks in advanced! 
> Greetings, Carlos
>

-- 
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 https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-visualization-api/486047be-a402-4e49-bc0c-8cfc628f1df3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to