[OpenLayers-Users] setCenter bug

Brent Owens bowens at openplans.org
Sat Jul 29 15:04:34 CDT 2006


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.

What I have are buttons where a user can click on them and it will take 
them to different locations on the map. But these locations all use the 
same zoom level, and the program dies. If I use a different zoom level 
between calls to setCenter(), it works.

-- 
Brent Owens
(The Open Planning Project)



More information about the Users mailing list