Hi,
i am trying to add an DomListener to a route object.
However when hovering over the route object , it does not work.
for (j=0; j< myRoute.getNumSteps() ; j++) {
var stepdirection=
(myRoute.getStep(j).getDescriptionHtml() );
$('.itinerary').append('<li>' + '<a>' + stepdirection + '</a>'
+ '</li>' ) ;
GEvent.addDomListener
(myRoute.getStep(j), 'click', function ()
{
GLog.write ("hover over route " + i +
" and step : " + j );
})
$('#directions').append('</ol>')
--
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.