> It would be better to redefine pts if it's invalid, so you can always use it:
>
> if (!pts) pts = poly.getVertex(Math.floor(poly.getVertexCount()/2));
> map.openInfoWindowHtml(pts,html);

thanks, Andrew. That got it working.

you guys rock.

Lucas

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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.

Reply via email to