Changeset 5384
- Timestamp:
- 12/12/07 12:45:39 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/tests/Control/test_MousePosition.html
r5371 r5384 40 40 function test_02_Control_MousePosition_redraw_noLayer_displayProjection(t) { 41 41 t.plan(3); 42 control = new OpenLayers.Control.MousePosition();43 map = new OpenLayers.Map('map');42 var control = new OpenLayers.Control.MousePosition(); 43 var map = new OpenLayers.Map('map'); 44 44 map.addControl(control); 45 45 t.eq(control.div.innerHTML, "0.00000, 0.00000", "innerHTML set correctly"); … … 47 47 control.redraw({'xy': new OpenLayers.Pixel(12,12)}); 48 48 t.eq(control.div.innerHTML, "0.00000, 0.00000", "innerHTML set correctly"); 49 l = new OpenLayers.Layer('name', {'isBaseLayer': true});49 var l = new OpenLayers.Layer('name', {'isBaseLayer': true}); 50 50 map.addLayer(l); 51 51 map.zoomToMaxExtent();
