hi,
i'm generating a route with this code
/******************************************************************/
for (var i = tournee.length -1; i>=0 ; i--)
{
gdirections[i] = new GDirections(map);
changementCouleur(i)
listeRoutes[i] = new Array();
for (var j = 0;j<tournee[i].nbSommets ;j++)
{
listeRoutes[i][j] = (j+1) + ": " + " TITLE "+ "@" + tournee
[i].sommet[j].marker.getPoint().lat() + "," + tournee[i].sommet
[j].marker.getPoint().lng();
}
gdirections[i].loadFromWaypoints(listeRoutes
[i],directionOptions);
}
/*****************************************************************/
i want to add onClick event on the markers of gdirections so that it
shows me the title of each marker when i click on it.
can i do this directly on those markers ?
or do i have to make a turnaround and recreate the markers.
thank you
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---