> var map = new GMap2(document.getElementById("map_canvas"));
...
> if (GBrowserIsCompatible()) {
> var map = new GMap2(document.getElementById("map_canvas"));

Making a map, then destroy it to make a new one?

> var directionsService = new google.maps.DirectionsService();

That's a v3 object, you cannot mix'n'match v2 and v3
v2 Directions docs -
http://code.google.com/apis/maps/documentation/javascript/v2/services.html#Directions

> The map displays beautifully;

Map of where, out of interest?  You don't seem to choose any centre
and zoom at all.

-- 
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.

Reply via email to