Change this > directions = new GDirections(map, directionsPanel); > into > directions = new GDirections(null, directionsPanel); > > and you can remove the map div and the code which sets that up.
just out of curiosity, doesn't that contravene this part of the Directions ToS: "The Directions API may only be used in conjunction with displaying results on a Google map; using Directions data without displaying a map for which directions data was requested is prohibited..." or are we talking about something else? but now that I understand that we're talking about just displaying text for one route on the page, why not just display the text on the page? -- You received this message because you are subscribed to the Google Groups "Google Maps API V2" 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-api?hl=en.
