On Feb 16, 11:54 am, Susi <[email protected]> wrote:
>
> Begin: Loop of Polygon --
>        map.addOverlay(polygon);
>        if ( polygon ){
>             bounds.extend(polygon.getBounds().getSouthWest());
>             bounds.extend(polygon.getBounds().getNorthEast());
>         }
> Loop Ends:
> map.setCenter( bounds.getCenter(), map.getBoundsZoomLevel( bounds ) );


No. You should be getting an error message saying "Begin is
undefined", or something like that.
You are not new to this group, so you should know to post a link
already.

Please read and follow the group's posting guidelines:
http://groups.google.com/group/Google-Maps-API/web/suggested-posting-guidelines
http://groups.google.com/group/Google-Maps-API/web/why-including-a-link-is-critical

--
Marcelo - http://maps.forum.nu
--


>
> Is this correct? But I am getting the incorrect values.
> Can any one help me on this.

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

Reply via email to