On Feb 16, 1:09 pm, Susi <[email protected]> wrote:
> Hi
>     Sorry....
> In the above post I have wrote a Pseudo-code for drawing the polygon.
> Here is the actual function.

No need for that!! We can see it in the link!


>
> Here is the link to my 
> maphttp://supportwarriors.com/cgi-bin/precision_coverage_version_2/callc...
>
> In the Zip Text Box please enter: 85004


Your code seems to work OK, but there is something wrong with your
data, (which is a good reason for requesting a link).
When you click 'AZ-Chandler', apart from the polygons in Arizona,
there is a single polygon being loaded near Trenton, NJ, so the map is
zooming correctly to fit both Arizona and New Jersey.

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






>
> On Feb 16, 4:01 pm, Marcelo <[email protected]> wrote:
>
>
>
> > 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-......
>
> > --
> > 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