Files
openlayers/tests/Control/test_DragPan.html
crschmidt 6aea8da115 Add basic DragPan test.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@3542 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2007-06-29 12:49:39 +00:00

20 lines
511 B
HTML

<html>
<head>
<script src="../../lib/OpenLayers.js"></script>
<script type="text/javascript"><!--
var map;
function test_Control_DragPan_constructor (t) {
t.plan( 1 );
control = new OpenLayers.Control.DragPan();
t.ok( control instanceof OpenLayers.Control.DragPan, "new OpenLayers.Control returns object" );
}
// -->
</script>
</head>
<body>
<a id="scale" href="">DragPan</a> <br />
<div id="map" style="width: 1024px; height: 512px;"/>
</body>
</html>