> I have not been successful passing a polygon to the getBounds() function.

hard to say without seeing your code, but maybe what you need to do is
make sure that the code knows which line/shape you are talking about.
If you look at where the centerAndZoom function is called in my code,
you will see these two lines:

polyg=gpolygons[a];

centerAndZoom(polyg);

hope that helps

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