Notes about wrapDateLine.

This commit is contained in:
ahocevar
2012-02-28 15:07:03 +01:00
parent 3cc0b8f51c
commit 2e6fe7d330

View File

@@ -98,6 +98,10 @@ If you were previously using the `OpenLayers.Layer.SphericalMercator.forwardMerc
The internal `OpenLayers.Layer.getURLasync` function now take a bound, a callback and a scope. The function no longer needs update the passed property but simply to return to url.
## Changes when base layer configured with wrapDateLine: true
Vector editing across the date line works reliably now. To make this work, 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.
## Deprecated Components
A number of properties, methods, and constructors have been marked as deprecated for multiple releases in the 2.x series. For the 2.12 release this deprecated functionality has been moved to a separate deprecated.js file. If you use any of the constructors or methods below, you will have to explicitly include the deprecated.js file in your build (or add it in a separate `<script>` tag after OpenLayers.js).