[OpenLayers-Users] setCenter bug
Christopher Schmidt
crschmidt at crschmidt.net
Fri Aug 11 10:23:21 CDT 2006
On Fri, Aug 11, 2006 at 10:24:08AM +0200, Arnd Wippermann wrote:
> Hello,
>
> I have the same problem with setCenter. To look at I have taken an
> OpenLayers Example and insert the setCenter function:
> http://gis.ibbeck.de/pinguinale/setCenterbug%20example.html (Our server has
> some problems, to get the application working maybe it is necessary to
> refresh the side). I use http://openlayers.org/api/OpenLayers.js, but have
> also tested with http://openlayers.org/api/1.0/OpenLayers.js.
>
> The start map is Sinai. Click on Japan centers the map for Japan. With IE
> you can see, IE wants to load 527 tiles. The higher the zoomlevel the more
> tiles have to load.
This was a known issue in the 1.0 release (which is what /api/ currently
is). Essentially, if you aren't zooming, when you click to a different
area, the tiles expand to load *all* the space from where you clicked to
the next location.
I fixed this bug a couple days ago in the SVN release, and additional
code since then has improved the performance in this regard even more.
We're hoping to cut a new release in the relatively near future: once
we've done so, you'll be able to avoid this problem.
I'm sorry about that -- I understand the frustration with this bug,
since I ran into it myself when creating an application. (Which is why I
had to fix it! :))
--
Christopher Schmidt
Web Developer
More information about the Users
mailing list