[OpenLayers-Commits] r10886 - sandbox/elemoine/kinetic/examples
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Wed Nov 10 16:08:47 EST 2010
Author: erilem
Date: 2010-11-10 13:08:47 -0800 (Wed, 10 Nov 2010)
New Revision: 10886
Modified:
sandbox/elemoine/kinetic/examples/kinetic.html
Log:
better comments, title etc. for the kinetic.html example
Modified: sandbox/elemoine/kinetic/examples/kinetic.html
===================================================================
--- sandbox/elemoine/kinetic/examples/kinetic.html 2010-11-10 20:55:05 UTC (rev 10885)
+++ sandbox/elemoine/kinetic/examples/kinetic.html 2010-11-10 21:08:47 UTC (rev 10886)
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>OpenLayers Kinetic Scrolling Example</title>
+ <title>OpenLayers Kinetic Dragging Example</title>
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
<link rel="stylesheet" href="style.css" type="text/css" />
<style type="text/css">
@@ -45,24 +45,31 @@
</script>
</head>
<body onload="init()">
- <h1 id="title">TileCache Example</h1>
+ <h1 id="title">Kinetic Dragging Example</h1>
<div id="tags">
- tile, cache, tilecache, wmsc, wms-c
+ kinetic, dragging
</div>
<p id="shortdesc">
- Demonstrates a TileCache layer that loads tiles from from a web
- accessible disk-based cache only.
+ Demonstrates Kinetic Dragging.
</p>
<div id="map" class="smallmap"></div>
<div id="docs">
- This layer should be used for web accessible disk-based caches only.
- It is not used to request new tiles from TileCache. Note that you
- should specify resolutions explicitly on this layer so that they match
- your TileCache configuration.
+
+ <p>
+ OpenLayers Kinetic Dragging inspired from <a href="http://www.tile5.org">Tile5</a>, and
+ <a href="http://code.google.com/p/kineticscrolling/">kineticscrolling</a> for Google Maps API V3.
+ </p>
+
+ <p>
+ The value of the <code>panDuration</code> Map option defaults to 50 (in milliseconds). For
+ Kinetic Dragging you'd probably want to increase that value. It is set to 100 in this
+ example.
+ </p>
+
</div>
</body>
</html>
More information about the Commits
mailing list