git-svn-id: http://svn.openlayers.org/trunk/openlayers@11233 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
36 lines
1.3 KiB
HTML
36 lines
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<title>OpenLayers TouchNavigation Control</title>
|
|
<link rel="stylesheet" href="../theme/default/style.css" type="text/css" />
|
|
<link rel="stylesheet" href="style.mobile.css" type="text/css" />
|
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
<script type="text/javascript" src="../lib/OpenLayers.js"></script>
|
|
<script type="text/javascript" src="mobile-navigation.js"></script>
|
|
</head>
|
|
<body onload="init()">
|
|
<h1 id="title">TouchNavigation Control</h1>
|
|
|
|
<div id="tags">
|
|
mobile, touch, drag, move, zoom, navigate
|
|
</div>
|
|
|
|
<div id="shortdesc">Demonstrate TouchNavigation Control features</div>
|
|
|
|
<div id="map" class="smallmap"></div>
|
|
<div id="docs">
|
|
<p>
|
|
This example demonstrates a couple features of the TouchNavigation
|
|
control. The TouchNavigation control controls most map dragging,
|
|
movement, zooming, etc, optimized for mobile devices.
|
|
</p>
|
|
<p>
|
|
See the <a href="mobile-navigation.js" target="_blank">mobile-navigation.js
|
|
source</a> to see how this is done.
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|