I suspect that your marker is there, but it's underneath the (A) and (B)
direction markers which are created later in the same location.
Try removing this line
setDirections("495 E 2600 N, Ogden, UT 84414", "495 E 2600 N, Ogden, UT
84414", "en_US");
Also consider using
gdir = new GDirections(null, document.getElementById("directions"));
so that GDirections doesn't put its (B) marker on the map, then use
gdir.load("from: " + fromAddress + " to: " + toAddress,
{ "locale": locale, getPolyline:true });
and in your onDirectionsLoad() perform
var poly=gdir.getPolygon()
map.addOverlay(poly)
to plot the polyline and
var point = poly.getVertex(0);
map.addOverlay(new GMarker(point))
to plot a start marker.
--
http://econym.googlepages.com/index.htm
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---