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
+1
View File
@@ -24,6 +24,7 @@
t.plan(2);
var r = new OpenLayers.Renderer();
r.map = {};
var extent = new OpenLayers.Bounds(1,2,3,4);
r.resolution = 1;
r.setExtent(extent, true);