If your browser doesn't support the script tag, you have no business running these tests.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@5658 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="../../lib/OpenLayers.js"></script>
|
<script src="../../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript"><!--
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
function test_01_Control_Attribution_constructor (t) {
|
function test_01_Control_Attribution_constructor (t) {
|
||||||
t.plan( 2 );
|
t.plan( 2 );
|
||||||
@@ -35,7 +35,6 @@
|
|||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
// -->
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<script src="../../lib/OpenLayers.js"></script>
|
<script src="../../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript"><!--
|
<script type="text/javascript">
|
||||||
var map;
|
var map;
|
||||||
function test_01_Control_Scale_constructor (t) {
|
function test_01_Control_Scale_constructor (t) {
|
||||||
t.plan( 2 );
|
t.plan( 2 );
|
||||||
@@ -44,7 +44,6 @@
|
|||||||
map.addControl(control);
|
map.addControl(control);
|
||||||
t.eq(control.div.firstChild.innerHTML, "Scale = 1 : 443M", "Internal scale displayed properly.");
|
t.eq(control.div.firstChild.innerHTML, "Scale = 1 : 443M", "Internal scale displayed properly.");
|
||||||
}
|
}
|
||||||
// -->
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -464,7 +464,6 @@
|
|||||||
map.destroy();
|
map.destroy();
|
||||||
}
|
}
|
||||||
|
|
||||||
// -->
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -9,7 +9,6 @@
|
|||||||
</style>
|
</style>
|
||||||
<script src="../lib/OpenLayers.js"></script>
|
<script src="../lib/OpenLayers.js"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
<!--
|
|
||||||
function init(){
|
function init(){
|
||||||
var map = new OpenLayers.Map('map', {'maxResolution': 1.40625/2, tileSize: new OpenLayers.Size(256,256)});
|
var map = new OpenLayers.Map('map', {'maxResolution': 1.40625/2, tileSize: new OpenLayers.Size(256,256)});
|
||||||
ww = new OpenLayers.Layer.WMS( "Basic",
|
ww = new OpenLayers.Layer.WMS( "Basic",
|
||||||
@@ -21,7 +20,6 @@
|
|||||||
map.zoomOut();
|
map.zoomOut();
|
||||||
map.zoomOut();
|
map.zoomOut();
|
||||||
}
|
}
|
||||||
// -->
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body onload="init()">
|
<body onload="init()">
|
||||||
|
|||||||
Reference in New Issue
Block a user