Opened 10 years ago

Closed 8 years ago

#3399 closed enhancement (wontfix)

Resize zooming in map

Reported by: rurseekatze Owned by: rails-dev@…
Priority: trivial Milestone: Wishlist
Component: website Version:
Keywords: Cc: guerda


Please add the resize option for faster and smoother zooming:

var mapnikLayer = new OpenLayers?.Layer.OSM.Mapnik("Mapnik", {

transitionEffect: 'resize'


I use this in my OpenLinkMap? ( With this option zooming in the map is faster because it does not stop after each zoom step to load the new tiles.

Change History (7)

comment:1 Changed 10 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

Done - we used to have it but accidentally got lost during the OpenLayers? 2.8 upgrade.

comment:2 Changed 9 years ago by guerda

Cc: guerda added
Resolution: fixed
Status: closedreopened

I'm afraid to reopen this bug, but on the main page, the resize zooming does not work properly. The OpenLinkMap? resizes the tiles correctly, but not.

I'm using Firefox 4.0, Firefox 3.6 under Ubuntu 10.10 64 Bit and Windows 7 32 Bit and it does not work in any of the four browsers.

If you zoom in, the old tiles are deleted and white areas appear on the screen.

comment:3 Changed 9 years ago by Tom Hughes

Are you saying it was working after I fixed it and it has now stopped working again?

comment:4 Changed 9 years ago by Tom Hughes

We are definitely setting the option, and I do sometimes see the effect but I agree that it doesn't often happen - it's quite hard to tell though because the mapnik layer is usually so fast.

I think any remaining problems must be with OpenLayers? rather than our code - the culprit may well be this ticket:

comment:5 Changed 9 years ago by Tom Hughes

I've applied that patch to the site now, though I'm not sure how much affect it is having.

comment:6 Changed 9 years ago by Tom Hughes

Owner: changed from Tom Hughes to rails-dev@…

comment:7 Changed 8 years ago by ppawel@…

Resolution: wontfix
Status: reopenedclosed

Closing as this is related to OpenLayers? and has recently switched to Leaflet.

(Although I must say I actually *do* notice some slowdown with zoom compared to OL but that's for another ticket.)

Note: See TracTickets for help on using tickets.