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:
1.7 KB
|
Línea | |
---|
1 | <!DOCTYPE html> |
---|
2 | <html> |
---|
3 | <head> |
---|
4 | <title>OpenLayers Kinetic Dragging Example</title> |
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> |
---|
7 | <meta name="apple-mobile-web-app-capable" content="yes"> |
---|
8 | <link rel="stylesheet" href="../theme/default/style.css" type="text/css"> |
---|
9 | <link rel="stylesheet" href="style.css" type="text/css"> |
---|
10 | </head> |
---|
11 | <body> |
---|
12 | <h1 id="title">Kinetic Dragging Example</h1> |
---|
13 | |
---|
14 | <div id="tags"> |
---|
15 | kinetic, dragging |
---|
16 | </div> |
---|
17 | |
---|
18 | <p id="shortdesc"> |
---|
19 | Demonstrates Kinetic Dragging. |
---|
20 | </p> |
---|
21 | |
---|
22 | <div id="map" class="smallmap"></div> |
---|
23 | |
---|
24 | <div id="docs"> |
---|
25 | <p> |
---|
26 | OpenLayers Kinetic Dragging inspired from <a href="http://www.tile5.org">Tile5</a>, and |
---|
27 | <a href="http://code.google.com/p/kineticscrolling/">kineticscrolling</a> for Google Maps API V3. |
---|
28 | </p><p> |
---|
29 | As shown in this example Kinetic Dragging is enabled by setting |
---|
30 | <code>enableKinetic</code> to true in the config object provided to the |
---|
31 | <code>Control.DragPan</code> constructor. When using |
---|
32 | <code>Control.Navigation</code> or <code>Control.TouchNavigation</code> |
---|
33 | providing options to the underlying <code>Control.DragPan</code> |
---|
34 | instance is done through the <code>dragPanOptions</code> config |
---|
35 | property. |
---|
36 | </p><p> |
---|
37 | View the <a href="kinetic.js" target="_blank">kinetic.js source</a> |
---|
38 | to see how this is done. |
---|
39 | </p> |
---|
40 | </div> |
---|
41 | <script src="../lib/OpenLayers.js"></script> |
---|
42 | <script src="kinetic.js"></script> |
---|
43 | </body> |
---|
44 | </html> |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.