Google Maps API now includes driving directions

It is possible to show interactive driving directions on your Website with very minimal effort. Google Maps now includes the driving directions API, and you could embed driving directions and maps on your Website for free.

Like all other GoogleMaps feature, you are required to obtain an API key, which is free too.

We have integrated this into our Driving Directions at houselocator.com, here is an example:

http://www.houselocator.com/DrivingDirections.aspx?ID=15274&Street=&Zip=34741 

One advantage of Javascript API integration is, as Google keeps adding more features, they will automatically appear on your Website. Right now, they have a nice way of zooming into any turn on the directions. Just click on a step in the directions in the example above and see it in action.

 

Check out the Google Maps API at:  http://www.google.com/apis/maps/

Integration is really easy. 

** Update: I have written a GoogleMaps Directions API wrapper control for ASP.NET that you can use to easily integrate driving directions in your ASP.NET projects. Check the following post:

GoogleMaps-Driving-Directions-API-Wrapper-Control-for-ASPNET

 

Posted on October 27, 2007 13:44 by Haider

Comments

October 29. 2007 12:48

Pallab

I was searching for google map APIs' .NET wrapper control to use in one of my websites. If you know about any suitable wrapper control, please let me know. Smile

Pallab

November 15. 2007 10:04

Abu Haider

It is so simple and easy to integrate the Google Maps that you don't really need a wrapper control.

But may be we will come up with one in the future.

Abu Haider

February 1. 2008 08:48

sam

Can you please send me the integration code for google map.

sam

February 13. 2008 08:04

Batsirai Chada

Yes - please send over the integration code for the google maps AND directions!

Batsirai Chada

October 28. 2008 09:01

mukul jain

hello please send me html java code for google maps showing map and directions from and To from any place to any destination i need it uegent please help me guys

mukul jain

October 28. 2008 12:53

Abu Haider

Please look at the wrapper controls:

www.haiders.net/.../...per-Control-for-ASPNET.aspx

They can be used outside ASP.NET with little modifications.

Hope that helps.

Abu Haider

February 27. 2009 10:58

Anonymous

This code works perfect!!  I spent several hours trying to implement google maps in my .Net 2.0 application and was able to your usercontrols up and running in 15 minutes.  Thanks for the help.

Anonymous

January 6. 2010 04:01

Isaiyavan Babu Karan

What if i want to load this directions into a dataset/datatable or save it to a xml file?

Isaiyavan Babu Karan

January 31. 2010 22:02

murali

I need to save Geocoding or Latitude/Longitude into the database and again I need to pop up again.. pls help on this

murali

Don't Post SPAM

If you are posting a commment just to get a link, don't waste your time!

I have a sophisticated comment moderation system in place, and your comment will not be posted.

Add comment




biuquote
  • Comment
  • Preview
Loading