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:
Éric Lemoine
2011-02-22 14:11:57 +00:00
parent 2f42aeb440
commit b7babb5edf
4 changed files with 5 additions and 4 deletions

View File

@@ -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),