Hey asgallant, been a few years. Thanks that has fixed the race condition:
The issue with the combined method called DrawMaps() was that to have 1 method draw both states and counties I had to do data.addRows(256); This created an error on drawing the states which only needs 50 rows and the error would say cannot get length of null. I do not encounter the same issue with counties, even though some states only have a few counties. I have fixed the issue by just putting the addRows() within a if statement that checks if I am drawing counties or states. But I am still open to a better suggestion then what I do currently: data.addRows(50 or 255) data.addColumn(State or county mapping code) data.addColumn( Hover text for data) data.addColumn( Hover Text for State/County Name) foreach( stateOrCounty ) data.setValue() data.setValue() data.setValue() -- 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.
