Is the problem on page load or when clicking on the map?

If it's when you click on the map, you are assigning the variable tmp 
twice; the first time is fine, but the second time you are trying to assign 
it the value of the variable G05OJ023, when I suspect you intended to pass 
the string "G05OJ023".

If it's on page load, you commented out the setOnLoadCallback call, which 
you need.  The call to drawVisualization from setOnLoadCallback can't pass 
the name, so you'll need to use an intermediary function:

function foo () {
    drawVisualization('default name');
}
google.setOnLoadCallback(foo);

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