Hi All,

I'm trying to figure out if there is a way to disable the zoom limitations
- i.e. allow zooming out to more that one world visible - without disabling
wrapDateLine?

This used to be the behaviour before OL 2.12 - but this changed in 2.12
"OpenLayers won't zoom out to resolutions where more than one world is
visible any more. For maps that have base layers with wrapDateLine set to
false, no zoom restrictions apply."
https://github.com/openlayers/openlayers/blob/master/notes/2.12.md#changes-when-base-layer-configured-with-wrapdateline-true

The reason I want to do this is a have a few maps where dimensions are such
that to zoom out enough to show the full world they end up overlapping the
date line slightly. However after upgrading to 2.12 I can no longer zoom
out fully.

-- 
Robbie Mackay

Software Developer, External Projects
Ushahidi Inc
e: [email protected]
skype: robbie.mackay
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to