[OpenLayers-Users] setCenter bug

Christopher Schmidt crschmidt at crschmidt.net
Tue Aug 8 10:56:54 CDT 2006


On Sat, Jul 29, 2006 at 01:04:34PM -0700, Brent Owens wrote:
> Hi everyone,
> 
> I found a bug (I think) where if you call map.setCenter() twice using 
> the same zoom level, open layers will fall into an infinite loop and 
> gobble up my cpu.

Brent -- 

We were testing this this morning, and were unable to reproduce in the
current (SVN) version of OpenLayers. There's now an example of what I
think you were describing as the bug available from
http://openlayers.org/dev/examples/doubleSetCenter.html -- if you can
reproduce a problem with this page, or another one like it, I'd
appreciate knowing about it so we can try and get it taken care of.

If you could bring your crashing/looping problem down to a simple test
case, and also mention what browser it happens in, we can investigate
further.

Thanks in advance,
-- 
Christopher Schmidt
Web Developer


More information about the Users mailing list