Hi, I'm not sure what you mean by "the values of the map are no longer available". If you mean that you're using different DataTables for each resolution, then there are 3 options that I can think of:
1. You could use one large DataTable that contains the data for the subcontinents and countries. The GeoChart doesn't apply country data at the continent or subcontinent resolutions. 2. You could store your DataTables on your stack, along with the region and resolution. That way when you pop your stack, you'll always have the DataTable available to you. 3. You could simply have an object that has the resolutions as its keys and datatables as its values. That way, whenever you have a map, you'd just have to look up which DataTable to use. We don't have any built-in ways to go back or zoom out in the GeoChart, so you will have to roll your own solution. Hope that helped! - Sergey On Thu, Mar 27, 2014 at 11:09 AM, maria <[email protected]> wrote: > Hi > > I have four views of the geochart which zoom from world view to continent > to subcontinent to the country view . I used an stack to store the region > and resolution and when i call the back functions it will pop the value > from the stack for the previous view . but the values of the map are no > longer available. Is there a better way to define the back function or zoom > out function in geochart. > > Thanks > > > > > -- > 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/d/optout. > -- 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/d/optout.
