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.

Google JavaScript Map API

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.

JavaScript library is 220 KB unzipped. It takes more than 4 sec to parse the API on iphone. Since engineers can’t reduce the codebase size after modularizing classes, Google map team decides to create Google Map API v3.

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.

Advertisements

Map API Sandbox

May 17, 2009 § Leave a comment

This is a very good play ground for exploring Mapping APIs in a sandbox.

  • Google
  • Yahoo
  • MSFT
  • MapQuest
  • OpenLayers
  • OpenStreetMap
  • MultiMap
  • Map24
  • FreeEarth
  • ViaMichelin
  • OpenSpace

Free Open Source Geo Data

May 11, 2009 § Leave a comment

Free Open Source Geo Data here

GeoLite Country
GeoLite City
Free GeoIP City lookup
GeoIP APIs

Free US postal code databases

Free World postal code

Free UK postal code

US City Code here

US Metropolitan Region Code here

ISO 3166-1 country and territory codes here

World City Code here

Word Region Code here

Geocoder

April 26, 2009 § 1 Comment

Forward Geocoding
Converting address into coordinates and zip code

Geocoding for
Street Address: 1600 Pennsylvania Avenue NW
City: Washington
State / Province: DC
ZIP / Postal: n/a

Geocoding Results:
Latitude: 38.898748
Longitude: -77.037684
ZIP / Postal Code: 20502

Reverse Geocoding
Converting coordinates to address

Geocoding for
Latitude: 40.748356
Longitude: -73.984621

Geocoding Results:
Street Address: 352 5th Ave
City: New York
State / Province: NY
ZIP / Postal Code: 10016
Distance: 11 meters

Intersections
Converting coordinates to nearest intersection

Geocoding for
Latitude: 38.898748
Longitude: -77.037684

Nearest Intersection:
Street 1: Pennsylvania Ave
Street 2: Jackson Pl
Distance: 23 meters

Nearest Major Intersection:
Street 1: Pennsylvania Ave
Street 2: Jackson Pl
Distance: 23 meters

Free US Zip Codes

April 26, 2009 § 1 Comment

iBegin Geocorder offers free US Zip Codes and City Centroids.

File of all US ZIP codes. Includes zip, city, state, latitude, longitude, and county

File for both Canada and the US which includes city name, state/province, latitude, and longitude

Where Am I?

You are currently browsing the Mapping category at Web Builders.