Google Map API Performance
June 30, 2009 § 2 Comments
I am summarizing a session on Google Map API Performance here. This help you to evaluate using Google Map for iphone app.
The total sequence of loading the script and resources is about 4.6 sec on avg web. However, it takes 18 sec to load on Android and iphone.
This v3 offers a few features – markers, infowindows, geocoding.
On v2 GMarker class is designed for features not for performance. Each marker is consisting of up to 5 divs. To show 10,000 GMarkers, you are loading 50,000 DOM nodes in the browser.
Google extends GOverlay class to create a custom lightweight marker. This MakerLight, overlay contains only 2 divs per marker.
Google Flash API is faster in rendering but it suffers from a slow DOM.