First time post so forgive me if this is incomplete, but I have
searched diligently for the answer...
I want to display direction polylines without markers or other
information... My code, derived from a post in this group is:
var directions = new GDirections();
GEvent.addListener(directions, "load", function() {
var poly = dirn.getPolyline();
map.addOverlay(poly);
});
directions.load('Victoria, BC to Nanaimo, BC',{getPolyline:true});
My site link for this page is: http://www.eaglenook.com/GettingHere/index.html
Thank you in advance,
David
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---