[OpenLayers-Users] Bug? Zoom box offset when using large scales

Holmes, Charles V. cholmes at mitre.org
Fri Aug 3 09:14:05 EDT 2007


I've run into some similar behavior that hopefully will be useful in
debugging the problem.  I'm not sure if it's the same problem, but it's
certainly related.

Using SHIFT+drag will occasionally draw the box in the wrong position
like you're seeing with Barend's problem.  Once it tries to draw it in
the wrong position, any future SHIFT+drag will also be in the wrong
position.  

However, by reloading the page, the problem will usually go away.  Once
it draws it in the correct position, I haven't noticied it changing
over into the incorrect one.  When we use the PanZoomBar, it will
always zoom in correctly.  

--
Charles Holmes

-----Original Message-----
From: users-bounces at openlayers.org
[mailto:users-bounces at openlayers.org] On Behalf Of Christopher Schmidt
Sent: Friday, August 03, 2007 8:51 AM
To: Barend K?bben
Cc: users at openlayers.org; euzuro at metacarta.com
Subject: Re: [OpenLayers-Users] Bug? Zoom box offset when using large
scales

On Fri, Aug 03, 2007 at 12:26:57PM +0200, Barend K?bben wrote:
> Hi ,
> 
> I have data of a really large scale, it's almost 1:1 drawings of
> archeological finds. They have been measured very precisely and
nicely
> georef'd to a UTM projection and consist of maps of typically some
15x15 to
> 20x20 meters in size.
> All works quite fine, but the large scale obviously gives some
problems,
> that I consider a bug: The zoom box (SHIFT-Drag) does not appear were
the
> actual mouse is moving. The effect varies according to the size of
the
> screen and the browser (eg. on my 1024x768 Mac running Firefox it's
not as
> bad as on a 1680x1050 PC using IE7, where it's really way off). I
have
> experimented with all kinds of resolution and scale settings, but to
no
> avail...

This is almost definitely a bug in OpenLayers ... holy crap, you
weren't
kidding. Something's totally broken there. 

Erik, can you file this as a blocker for 2.5? 

Thanks for the report, Barend. We'll look into this.

-- Chris

> Sciences and Earth Observation (ITC)
> PO Box 6, 7500AA Enschede (The Netherlands)
> ph: +31 (0)53 4874253; fax: +31 (0)53 4874335
> 
> 
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 

-- 
Christopher Schmidt
MetaCarta
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users



More information about the Users mailing list