[OpenLayers-Users] Problem with zoomexents and google maps layer
bwoodall at bwoodall.org
Mon Jul 16 13:11:04 EDT 2007
After looking at your example I noticed that you are using CSS
(width:100%) for your map div and thus the browser will set the viewport
width and the viewport might never equal the bounds you set.
On Mon, 2007-07-16 at 10:43 -0400, Stephen Woodbridge wrote:
> Attached is an html test case. You will probably need to set the google
> key to your host. This was run using OL 2.4. Sorry for the file instead
> of a URL, I didn't have a host with a google key that was publically
> accessible and readily accessible to me to post the example.
> Les also tried John Cole's suggestion, but that did not solve the
> problem either.
> Christopher Schmidt wrote:
> > On Fri, Jul 13, 2007 at 05:43:42PM -0400, Stephen Woodbridge wrote:
> >> Hi all,
> >> I have run into an annoying issue that if you zoom to an extents the
> >> extents is not always inside the viewport, so if I have a bunch of
> >> points and zoom to their extents, sometimes some of the points are
> >> outside the viewport after the zoom.
> >> Is there a fix or workaround for this problem?
> > Can you provide a test case for this?
> > Regards,
> HTML page attachment (google-ol-bug.html)
> OpenLayers With Google Layer Example
> Users mailing list
> Users at openlayers.org
More information about the Users