thanks for responding. My solution was just to instantiate a new map
after every query. This isn't as smooth as a change as just redrawing
the map though. It like flashes out for a second. Is there anyways I
can just redraw the map with new data?

    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);
        }
     }

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

Reply via email to