source: sipes/libraries/openlayers/examples/point-grid.html @ 92f109b

stableversion-3.0
Last change on this file since 92f109b was 307d09d, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se agregaron las librerias

  • Propiedad mode establecida a 100644
File size: 2.3 KB
Línea 
1<!DOCTYPE html>
2<html>
3  <head>
4    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
5    <meta name="apple-mobile-web-app-capable" content="yes">
6    <title>OpenLayers Point Grid Example</title>
7    <link rel="stylesheet" href="../theme/default/style.css" type="text/css">
8    <link rel="stylesheet" href="style.css" type="text/css">
9    <style type="text/css">
10        .olControlAttribution {
11            left: 5px;
12            bottom: 5px; 
13        }
14    </style>
15  </head>
16  <body>
17    <h1 id="title">Point Grid Example</h1>
18
19    <div id="tags">
20        point grid
21    </div>
22
23    <div id="shortdesc">Use a PointGrid layer to display a grid of regularly spaced points</div>
24
25    <div id="map" class="smallmap"></div>
26   
27    Grid rotation:
28    <select name="rotation" id="rotation">
29        <option value="-45">-45</option>
30        <option value="-30">-30</option>
31        <option value="-15">-15</option>
32        <option value="0">0</option>
33        <option value="15">15</option>
34        <option value="30">30</option>
35        <option value="45">45</option>
36    </select>
37
38    &nbsp;
39    Grid spacing:
40    <select name="dx" id="dx">
41        <option value="10">10</option>
42        <option value="15">15</option>
43        <option value="20">20</option>
44        <option value="25">25</option>
45        <option value="30">30</option>
46    </select> x
47    <select name="dy" id="dy">
48        <option value="10">10</option>
49        <option value="15">15</option>
50        <option value="20">20</option>
51        <option value="25">25</option>
52        <option value="30">30</option>
53    </select>
54
55    &nbsp;
56    Max points:
57    <select name="max" id="max">
58        <option value="150">150</option>
59        <option value="250">250</option>
60        <option value="350">350</option>
61    </select>
62
63    <div class="docs">
64        <p>
65            This example demonstrates a <code>OpenLayers.Layer.PointGrid</code>
66            layer to render a regularly spaced grid of point features.
67        </p><p>
68            See the <a href="point-grid.js" target="_blank">
69            point-grid.js source</a> to see how this is done.
70        </p>
71    </div>
72    <script src="../lib/OpenLayers.js"></script>
73    <script src="point-grid.js"></script>
74  </body>
75</html>
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.