source: ether_iasi/trunk/web/resources/js/OpenLayers-2.12/examples/canvas-inspector.html @ 739

Last change on this file since 739 was 739, checked in by vmipsl, 11 years ago

OpenLayers?

File size: 1.8 KB
RevLine 
[739]1<!DOCTYPE html>
2<html>
3    <head>
4        <title>OpenLayers Canvas Inspector</title>
5        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
6        <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
7        <link rel="stylesheet" href="../theme/default/google.css" type="text/css">
8        <link rel="stylesheet" href="style.css" type="text/css">
9        <script src="../lib/OpenLayers.js"></script>
10        <script src="Jugl.js"></script>
11        <style>
12            #template {
13                display: none;
14            }
15            #inspector table {
16                border-right: 1px solid #666;
17                border-bottom: 1px solid #666;
18            }
19            #inspector table td {
20                font-size: 9px;
21                text-align: center;
22                width: 60px;
23                height: 60px;
24                border-top: 1px solid #666;
25                border-left: 1px solid #666;
26            }
27        </style>
28    </head>
29    <body>
30        <h1 id="title">Canvas Inspector</h1>
31        <p id="shortdesc">
32            Displays pixel values for canvas context.
33        </p>
34        <div id="map" class="smallmap"></div>
35        <div id="docs">
36            <p>
37                View the <a href="canvas-inspector.js" target="_blank">canvas-inspector.js</a>
38                source to see how this is done.
39            </p>
40        </div>
41        <div id="inspector">
42        </div>
43        <table id="template">
44            <tr jugl:repeat="row new Array(rows)">
45                <td jugl:repeat="col new Array(cols)" 
46                    jugl:attributes="id 'c' + repeat.col.index + 'r' + repeat.row.index">
47                    &nbsp;
48                </td>
49            </tr>
50        </table>
51        <script src="canvas-inspector.js"></script>
52    </body>
53</html>
Note: See TracBrowser for help on using the repository browser.