Yes, I am feeling totally stupid with this problem. My mind just won't
comprehend what I am doing or supposed to do.  Now I can't even get
the page to load.  Yes, I have gone to other web sites to find help,
and read as much of the pages about this kind of coding, but it just
isn't coming to me.  If I could get the page to load at a level 6 for
now, then I can adjust later if necessary.

On Sep 12, 10:25 am, "[email protected]" <[email protected]>
wrote:
> On Sep 12, 9:02 am, Gil <[email protected]> wrote:
>
> > Added your suggested code, but appariently it doesn't work, possibly
> > with some of the code I already have and should remove to get what I
> > need the zoom to do.
>
> I don't see anything like what he suggested on your live page.
>
>
>
>
>
>
>
> > On Sep 8, 11:19 am, xelawho <[email protected]> wrote:
>
> > > > Can't figure what to change so that when the page is called, it isn't
> > > > zoomed in as much.
>
> > > this line here:
>
> > >  map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
>
> > > tells the map to zoom and center so that only the markers added to the
> > > map are shown.
>
> > > if you don't want that, you should edit or remove that line and set
> > > the center and zoom some other way.
>
> What zoom level do you want your map?
>
> What he suggested was changing this line:
>    map.setCenter(bounds.getCenter(), map.getBoundsZoomLevel(bounds));
>
> to zoom how you want.  The way it is it calculates the minimum zoom to
> display the markers.  Apparently you don't want that.  Either:
> 1. replace the map.getBoundsZoomLevel(bounds) with a hard coded zoom
> level
> or
> 2. replace the map.getBoundsZoomLevel(bounds) with
> map.getBoundsZoomLevel(bounds)+1 (or 2 or whatever you like)
>
>   -- Larry- Hide quoted text -
>
> - Show quoted text -

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