Hi !!!!!
I need to use addmarker function, by sending to it a value in
polyPoints[i] which is set with:
function polyclick()   <---- it runs when the user clicks on border of
polyline
. . .
lasrutas = this.getPath();
var j = lasrutas.getLength();
for (i=0; i<j; i++)
                    {
                    polyPoints[i] = lasrutas.getAt(i);
        var latlng2 = new google.maps.LatLng(polyPoints[i][0], polyPoints[i]
[1]);  <---failed
        //var latlng2 = new google.maps.LatLng(polyPoints[i]);  <--- failed
too

        addmarker(latlng2, true);  <--- I wish to put a markers in points of
the polyline

I tried with both assignments to latlng2 but it sent an error,
How do I convert this value in a LatLng that addmarker_s requires?
Thanks a lot
mariobi40

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