Posts

Showing posts from May 2, 2010

integrete google route planner in php

Hi friends, Here you can get how to integrate a route planner to your website. You first need a google map key to your website. The  http://maps.google.com/maps?file=api&v=2&key=abcdefg  URL points to the location of the JavaScript file that includes all of the symbols and definitions you need for using the Google Maps API. Your page must contain a  script  tag pointing to this URL, using the key you received when you signed up for the API. In this example the key is shown as " abcdefg ." Loading the Map onload = " initialize () " onunload = " GUnload () " > The  onload  attribute is an example of an event handler. map . addControl ( new  GSmallMapControl ( ) ) ; map . addControl ( new  GMapTypeControl ( ) ) ; map . enableDoubleClickZoom ( ) ; The  enableDoubleClickZoom()  gives the functionality of double click zoom on map .   setDirections ( "Noida" ,  "Agra" ,  "en_US" ) ; The  setDirections...