Google map on UIWebView

April 10, 2009 § 1 Comment

It seems to be common problem in getting map to display fast and well on UIWebView.

Any javascript running in the UIWebView will be terminated after 5 sec. Calling Google map API directly to display the entire map or any attempt to zoom and pan around will be slow, even on 3G network.

A good approach will be using static map image, or preload map images on web server.

Open source mapping alternatives:
http://mapstraction.com/

http://openlayers.org/
http://www.pushpin.com/api/1.3/docs/rest/tile.html

Advertisements

§ One Response to Google map on UIWebView

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

What’s this?

You are currently reading Google map on UIWebView at Web Builders.

meta

%d bloggers like this: