Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Resize zooming in map #3399

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 6 comments
Closed

Resize zooming in map #3399

openstreetmap-trac opened this issue Jul 23, 2021 · 6 comments

Comments

@openstreetmap-trac
Copy link

Reporter: rurseekatze
[Submitted to the original trac issue database at 9.50am, Saturday, 18th December 2010]

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 (http://olm.openstreetmap.de/).
With this option zooming in the map is faster because it does not stop after each zoom step to load the new tiles.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 3.00pm, Saturday, 18th December 2010]

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

@openstreetmap-trac
Copy link
Author

Author: guerda
[Added to the original trac issue at 6.35am, Friday, 1st April 2011]

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 OSM.org 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.

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 7.28am, Friday, 1st April 2011]

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

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 7.39am, Friday, 1st April 2011]

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:

http://trac.osgeo.org/openlayers/ticket/2848

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 7.52am, Friday, 1st April 2011]

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

@openstreetmap-trac
Copy link
Author

Author: ppawel[at]fastmail.fm
[Added to the original trac issue at 10.54am, Tuesday, 27th November 2012]

Closing as this is related to OpenLayers and osm.org 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.)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant