add a ZoomPanel to the mobile example, no functional change
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11237 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.css">
|
||||
<script src="http://code.jquery.com/jquery-1.5.min.js"></script>
|
||||
<script src="http://code.jquery.com/mobile/1.0a3/jquery.mobile-1.0a3.min.js"></script>
|
||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="style.mobile.css" type="text/css">
|
||||
<script src="../lib/OpenLayers.js"></script>
|
||||
<script src="mobile.js"></script>
|
||||
<style>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<title>OpenLayers with Sencha Touch</title>
|
||||
<script src="../lib/OpenLayers.js"></script>
|
||||
<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="http://dev.sencha.com/deploy/touch/resources/css/sencha-touch.css">
|
||||
<script src="http://dev.sencha.com/deploy/touch/sencha-touch.js"></script>
|
||||
<script src="mobile.js"></script>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<title>OpenLayers Mobile</title>
|
||||
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0;">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<link rel="stylesheet" href="../theme/default/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="style.mobile.css" type="text/css">
|
||||
<script src="../lib/OpenLayers.js"></script>
|
||||
<script src="mobile.js"></script>
|
||||
<style>
|
||||
|
||||
@@ -35,7 +35,8 @@ function init() {
|
||||
new OpenLayers.Control.DrawFeature(
|
||||
vector, OpenLayers.Handler.Polygon, {id: "poly-control"}
|
||||
),
|
||||
new OpenLayers.Control.ModifyFeature(vector, {id: "mod-control"})
|
||||
new OpenLayers.Control.ModifyFeature(vector, {id: "mod-control"}),
|
||||
new OpenLayers.Control.ZoomPanel()
|
||||
],
|
||||
layers: [new OpenLayers.Layer.OSM(), vector],
|
||||
center: new OpenLayers.LonLat(0, 0),
|
||||
|
||||
Reference in New Issue
Block a user