delayed loading of utility libs: InfoBubble

20 views
Skip to first unread message

Nianwei Liu

unread,
Nov 18, 2010, 12:17:22 PM11/18/10
to google-maps-utility-library-v3
One of the major highlights of V3 over v2 is the delayed loading of
modules, making the initial footprints smaller.
I did an attempt to apply that to the utility libs, using Luke's
InfoBubble as example.

Basically I attached an event trigger at the end of the script, and in
the use code, load the script when needed, with as little impact to
other code as possible.

The example is at the branch:
http://google-maps-utility-library-v3.googlecode.com/svn/branches/infobubble_delayed/examples/delayed_loading.html

let me know what you think.

Thanks,

--Nianwei
Reply all
Reply to author
Forward
0 new messages