Please send an example of your page I am having trouble following your question.
ChartMan On Sat, Aug 15, 2009 at 11:16 AM, jago<[email protected]> wrote: > > Do the following steps speed up things? > > I want to show a map on page2. People click on a link in page1 to get > to page2. Does it make sense to pre-load the MapKey in page1 like > that: <script src="http://maps.google.com/maps? > file=api&v=2&key=... ??? > > from my experiments it seems it contacts the http://maps.google.com > page also on page2 even if it already did so on page1. I may be wrong. > > > Also I want to show a AreaChart and Gauge visualization on page2. Does > it make sense to pre-load the visualizations on page1 like that: > > <script type="text/javascript" src="http://www.google.com/jsapi"></ > script><script type="text/javascript">google.load('visualization', > '1', {packages:['areachart', 'gauge']});</script> > > Will the browser only load it once and thus save time when visiting > page2? Do I have to include the scripts nonetheless in page2 although > I am sure that people get to page1 first where the scripts are already > loaded? > > Thanks! > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
