hello, im working with v3 of google maps api and I need your help to
find the way to change the marker A and B from the panel of driving
directions.

I tried and found this way, but exist another way ?

directionsRenderer.setPanel(document.getElementById(‘directionsPanel’));
setTimeout(‘$(“#directionsPanel div div table tbody tr td
img”).attr(“src”, “_layouts/Map/images/markers/house.png”)’, 90);
setTimeout(‘$(“#directionsPanel div div div table tbody tr td
img”).attr(“src”, “_layouts/Map/images/markers/tree.png”)’, 100);

the time out is becouse there is a dilay to draw the directions in the
panel.
as you see im changing the image of the html returned by the api

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to