> My polylines are stored in an array along with all its details (each
> array element can be identified by the polyline id)and I want to be
> able to identify which polyline (id) has been clicked to be able to
> display its corresponding info.

Overlay creation
  mypolyline = new GPolyine (....);
  mypolyline.myid = yourindex;

Click event handler ...
  index = clickedpolyline.myid;
  mycontent = myarray[index];

--

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=.


Reply via email to