Hi,

I got the drive directions with starting point A and ending point with
B. But I do not need A and B. I want only polyline along with
directions for that I worte the code like this
var directionsPanel = document.getElementById("route");
 var directions = new GDirections(map, directionsPanel);
directions.load("from:17.4429638888889,78.4990694444444 to:
17.4476194444444,78.4611388888889",{getPolyline: true});
GEvent.addListener(directions,"load",function(){
var poly = directions.getPolyline();
map.addOverlay(poly);
});

I am getting A and B markers againg with this code. To get the only
poly line what should I do? pls let me know

--

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