You are supposed to pass the function by reference to the setMapsSource
function, not call it. That is, you SHOULD do .setMapsSource('...', draw);
and you SHOULD NOT do .setMapsSource('...', draw()). The latter calls the
function and passes its result to setMapsSource, and the former actually
passes the draw function through.- Sergey On Fri, Oct 25, 2013 at 3:03 PM, Bluestreak2k5 <[email protected]>wrote: > Hmm ok, it seems like an update somewhere by me or google is removing this > functionality: > > Works without setMapsSource ready callback: > http://jsfiddle.net/f3sXW/1/ > doesn't work with callback: > http://jsfiddle.net/f3sXW/3/ > > I noticed this because none of my Canadian provinces are working: > CA-AB > CA-BC > CA-MB > CA-NB > CA-NL > CA-NS > CA-NT > CA-NU > CA-ON > CA-PE > CA-QC > CA-SK > CA-YT > > I know they work because I've tested them before, but I always had to load > them with the callback. > > -- > 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. > 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. For more options, visit https://groups.google.com/groups/opt_out.
