Tests for setExtent; improved comments.

This commit is contained in:
ahocevar
2011-10-08 14:34:59 -04:00
parent 281ae3dfe7
commit b56af5a5cf
3 changed files with 40 additions and 7 deletions

View File

@@ -387,12 +387,11 @@ OpenLayers.Renderer.Elements = OpenLayers.Class(OpenLayers.Renderer, {
/**
* Property: rightOfDateLine
* {Boolean} Keeps track of the location of the map extent's center
* relative to the date line. The <setExtent> method compares this value
* (which is the one from the previous <setExtent> call) with the current
* position of the map extent relative to the date line and updates the
* xOffset when the extent's center has moved from one side of the date
* line to the other.
* {Boolean} Keeps track of the location of the map extent relative to the
* date line. The <setExtent> method compares this value (which is the one
* from the previous <setExtent> call) with the current position of the map
* extent relative to the date line and updates the xOffset when the extent
* has moved from one side of the date line to the other.
*/
/**