Hi!

I really enjoy GWT and Google Maps working together...
But I have a question about Lazy Loading of Maps scripts...

To use Google Maps in my project I have to add
  <inherits name="com.google.gwt.maps.GoogleMaps"/>
  <script src="http://maps.google.com/maps?
gwt=1&amp;file=api&amp;v=2&amp;sensor=false" />
into my project xml.

As a result size of initial load of my web site increases for the size
of maps scripts... On the other hand I don't have Maps widget at first
page of my site - so it could be that User will never actually need
it...

Could I somehow create some kind of Lazy Loading for Goolge Maps and
load needed scripts only when they really needed? Maybe use
GWT.runAsync somehow?


-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" 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-web-toolkit?hl=en.

Reply via email to