On Sep 23, 6:52 am, jbliesener <[EMAIL PROTECTED]> wrote:
> > > Also, my second problem is the inverse of what getBoundsZoomLevel
> > > does. This function returns the zoom level for some given bounds. What
> > > I want to do is to calculate the bounds for a given zoom level.
>
> > The bounds are independent of zoom level.
>
> Clarifying again: I'm looking for the PIXEL BOUNDS (not the LatLng
> bounds) of a set of markers in a given zoom level. I do have LatLng
> for each of them and I want to know what would be the size in pixels
> of the bounding rectangle of this marker set in a given zoom level.
>
> But again: My main task is to FIND A MAP CENTER AND ZOOM that fits ALL
> MARKERS AND THE VARIABLE SIZED INFOWINDOW. My current approach is to
> calculate (pixel) bounding rects for the InfoWindow and the set of
> markers. Maybe, there's another (easier) way...
>
> At this point, I would try some things like using
> getBoundingClientRect/getBoxObjectFor, which is heavily browser
> dependent and probably will break in the future. Ugly!
>
> C'mon folks, this must be possible...

Of course it is possible.  However, I think you are breaking new
ground and will have to do your own research.  There have been some
threads about showing all the markers, but nothing including the
infoWindow that I can recall.

  -- Larry

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