On Aug 21, 5:02 pm, Dronnikkl <[email protected]> wrote:
> * how to determine where to insert it in array?

I have both a markers array and an MVC array.
The MVC array has the polyline going from marker to marker.

I assigned each element in the marker array a property which contains
the index value in the MVC array for the corresponding node.
Something like:
marker[i].mvc_index = j;

To insert a node into the MVC array after marker[i]:
path_var.insertAt(marker[i].mvc_index, position);

In other words, your code has to keep track of the relationship
between (1) markers and (2) nodes in the MVC array.

Larry is right.  It does take a bit of work.

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