Wasn't it Michael Femia who wrote:
>for (var i=0; i<poly.getVertexCount; i++){
"poly.getVertexCount" is a function reference. You want
"poly.getVertexCount()" which is the polyline returned by calling that
function.
>for (i=0;i<points.length;i++){document.write(points[i] + "<br >");}
Calling document.write() from asynchronous code may well cause problems,
particularly in MSIE. It will certainly create invalid HTML, since the
new content will be placed after the </html> which the browser parsed
synchronously.
Use GLog.write() or document.getElementById("info").innerHTML+=
--
Mike Williams
http://econym.org.uk/gmap
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---