Hi, I tried to copy and paste some code from http://code.google.com/apis/maps/documentation/v3/examples/directions-waypoints.html
and plugged it into code for my page at http://busplanner.mywebcommunity.org/mymapoptimisedroute.html . First of all I recieved an error saying the travel mode was undefined, now i turn the travelmode declaration ionto a comment, the code runs to the next line and tells me "driectiionservice" is undefined. Before today I was using v2 of the API- I thought the route optimisation is probably new for v3, so in the bit where I define my google maps api key: <script src="http://maps.google.com/maps? file=api&v=2&key=ABQIAAAAZNH9Jo9fjkquS3S2l3_pHhQ5d4gMI5NCYhnbJNxfzxf7PnGmYBS2ZJA- r0xVqXNH8zsl6VnNW_a4zA"> </script> I changed the v=2 to v=3. Have I done something wrong that is blindingly obvious? -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
