Sha256: 3d8f4c558f5acc0eec534dcf2f74a7fc8a941f8d2de0ce2f5984543a2ca4f669

Contents?: true

Size: 1.7 KB

Versions: 12

Compression:

Stored size: 1.7 KB

Contents

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" 
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
  <head>
    <title>Box Handler Strict Mode Test</title>
    <link rel="stylesheet" href="../../theme/default/style.css" type="text/css" />
    <link rel="stylesheet" href="../../examples/style.css" type="text/css" />
    <style type="text/css">
    .olHandlerBoxZoomBox {
        border: 20px solid red;
        border-left-width: 10px;
        border-bottom-width: 30px;
    }
    </style>
    <script src="../../lib/OpenLayers.js"></script>
    <script type="text/javascript">
        var map, layer;
        function init(){
            map = new OpenLayers.Map( 'map' );
            layer = new OpenLayers.Layer.WMS( "OpenLayers WMS",
                    "http://vmap0.tiles.osgeo.org/wms/vmap0",
                    {layers: 'basic'} );
            map.addLayer(layer);
            map.zoomToMaxExtent();
        }
    </script>
  </head>
  <body onload="init()">
    <h1 id="title">Box Handler Strict Mode Test</h1>

    <div id="shortdesc">Test the correct appearance of the ZoomBox in strict mode</div>

    <div id="map" class="smallmap"></div>

    <div id="docs">
        <p>For the box to be positioned correctly, we need to know the
            width of the borders.</p>
        <p>Shift-click on the map. A red box should be visible around the mouse
            cursor position, with 20 pixels to the top and right, 10 pixels to
            the left and 30 pixels to the bottom edge of the box.</p>
        <p>Drag the box both to the top-left and the bottom-right. The cursor
            should always be at the top-left or bottom-right inner corner of
            the box.</p>
    </div>
  </body>
</html>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
postrunner-0.0.10 misc/openlayers/tests/manual/box-strict.html
postrunner-0.0.9 misc/openlayers/tests/manual/box-strict.html
postrunner-0.0.8 misc/openlayers/tests/manual/box-strict.html
postrunner-0.0.7 misc/openlayers/tests/manual/box-strict.html
postrunner-0.0.6 misc/openlayers/tests/manual/box-strict.html
postrunner-0.0.5 misc/openlayers/tests/manual/box-strict.html
postrunner-0.0.4 misc/openlayers/tests/manual/box-strict.html
gb_mapfish_appserver-0.0.5 vendor/assets/javascripts/openlayers/tests/manual/box-strict.html
gb_mapfish_appserver-0.0.4 vendor/assets/javascripts/openlayers/tests/manual/box-strict.html
gb_mapfish_appserver-0.0.3 vendor/assets/javascripts/openlayers/tests/manual/box-strict.html
gb_mapfish_appserver-0.0.2 vendor/assets/javascripts/openlayers/tests/manual/box-strict.html
gb_mapfish_appserver-0.0.1 vendor/assets/javascripts/openlayers/tests/manual/box-strict.html