thanks for responding. here is some of my code. my solution was just
to instantiate a new map everytime. this solved the problems but it
the change isn't as smooth as just redrawing the map.
<code>
function handleQueryResponse(response){
if(response.isError()){ alert('Error in query: ' +
response.getMessage() + ' ' + response.getDetailedMessage());}
var data = response.getDataTable();
if(my_init)
{
var options = {'width': 750, 'height': 400};
var container = document.getElementById('map_canvas');
var geochart = new google.visualization.GeoChart(container);
my_init = false;
initializeSlider();
geochart.draw(data, options);
}
else
{
var options = {'width': 750, 'height': 400};
var container = document.getElementById('map_canvas');
var geochart = new google.visualization.GeoChart(container);
geochart.draw(data, options);
}
}
</code>
--
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.