Hi

I am creating a google map, which shows several locations and its by
the markers. From one markers I am drawing direction using GDirections
to the next marker according to the marker positions. The issue comes
with me is there is one more markers named A at the starting point and
B at the end point are showing . How can we remove the newly added
markers named A and B while using the GDirections?


my code

function getDirections(start,end){
    var start = (start);
    var end = (end);
    directionsPanel = document.getElementById("route");
    directions = new GDirections(map);
    GDirectionsOptions  = { preserveViewport:true };
   directions.load("from:"+ start+", Kingston, ON to: "+ end +",
Kingston, ON",GDirectionsOptions);
}

and am calling this like

javascript:getDirections('200 Johnson St','713 Addington St');

Please help me

Thanks
joban
http:/phpqa.blogspot.com

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