The Google Visualization library and Google Maps library can both be lazily
loaded.  See

VisualizationUtils.loadVisualizationApi()<http://gwt-google-apis.googlecode.com/svn/javadoc/visualization/1.0/com/google/gwt/visualization/client/VisualizationUtils.html#loadVisualizationApi(java.lang.Runnable,
java.lang.String...)>

Maps.loadMapsApi()<http://gwt-google-apis.googlecode.com/svn/javadoc/maps/1.0/com/google/gwt/maps/client/Maps.html#loadMapsApi(java.lang.String,
java.lang.String, boolean,
com.google.gwt.ajaxloader.client.AjaxLoader.AjaxLoaderOptions,
java.lang.Runnable)>


On Tue, Nov 3, 2009 at 1:56 PM, Viktor Zeman <[email protected]> wrote:
>
> In our project we use google visualization library.
> From this library we use just one map element (Overlay Map)
>
> Library itself contains more than 100KB and I would like to load it
> into application just when it will be required by GWT.runAsync
>
> I tried it with multiple ways, but always is library linked to main
> compiled code and splitted is just small portion of code.
>
> Does anybody know how to split from main compilation of application
> also referenced libraries ?
>
> Thx
>
> Viktor
>
> >
>



-- 
Eric Z. Ayers
Google Web Toolkit, Atlanta, GA USA

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