Hello,

I've successfully implemented displaying a map and directions for a
route using GDirections.loadFromWaypoints (passing in an array of
addresses).  This is my code:

var map;
var directionsPanel;
var directions;
var geocoder;

function initialize(dir) {
      map = new GMap2(document.getElementById("map_canvas"));
      geocoder = new GClientGeocoder();
      map.setUIToDefault();
      directionsPanel = document.getElementById("route");
      directions = new GDirections(map, directionsPanel);
      directions.loadFromWaypoints(dir);
}

The directions load correctly, and the markers are added to the map
properly in all browsers, however the map does not center and zoom
automatically in IE (behavior is as expected in Firefox and Safari).

I could not find any information on this issue.  Is it known?  Does
anyone have a solution?

Thanks,

-Tim

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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