only change bounds when wrapDateLine is true; remove unused variable

This commit is contained in:
ahocevar
2011-09-27 07:37:08 -06:00
parent 6925ac0ab1
commit 61a3c2a072
4 changed files with 117 additions and 7 deletions
+4 -1
View File
@@ -293,7 +293,10 @@ OpenLayers.Layer = OpenLayers.Class({
/**
* APIProperty: wrapDateLine
* {Boolean} #487 for more info.
* {Boolean} Wraps the world at the international dateline, so the map can
* be panned infinitely in longitudinal direction. Only use this on the
* base layer, and only if the layer's maxExtent equals the world bounds.
* #487 for more info.
*/
wrapDateLine: false,