metacat/lib/spatial/openlayers/tests/test_Control.html @ 3548
1 | 3032 | perry | <html>
|
---|---|---|---|
2 | <head>
|
||
3 | <script src="../lib/OpenLayers.js"></script> |
||
4 | <script type="text/javascript"><!-- |
||
5 | var map; |
||
6 | function test_01_Control_constructor (t) { |
||
7 | t.plan( 1 ); |
||
8 | |||
9 | control = new OpenLayers.Control(); |
||
10 | t.ok( control instanceof OpenLayers.Control, "new OpenLayers.Control returns object" ); |
||
11 | }
|
||
12 | // -->
|
||
13 | </script>
|
||
14 | </head>
|
||
15 | <body>
|
||
16 | <div id="map" style="width: 1024px; height: 512px;"/> |
||
17 | </body>
|
||
18 | </html>
|