Maps– Show Location via Google Maps and Yahoo Maps

6 Jul

In case if you are ever in need of showing location in Google maps or Yahoo Maps based on some address, try this demo. In this demo, I have given around 5 input fields and then generating the query string on fly and then sending it to Google and Yahoo Maps servers for locational Address display.Technically this process is called as geocoding.

However please note that accuracy of addresses depends on accuracy of data given in the field and data accuracy at Google and Yahoo Maps.Basic thumb rule over here is that we give as correct information as much as possible and then test it.If it displays our home address incorrectly, then we can say  that reliability of these maps is somewhat is limited.

As usual you can use the code by doing view source of the demo page, it uses the query string parameter to pass the user input and query string is build using jquery library.

Advertisements

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 )

Google+ photo

You are commenting using your Google+ 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 )

Connecting to %s

%d bloggers like this: