add modify feature control to mobile drawing example

git-svn-id: http://svn.openlayers.org/trunk/openlayers@11833 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2011-03-31 11:28:11 +00:00
parent 07f4ad8354
commit 7963fb6a7f
3 changed files with 11 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ function init() {
new OpenLayers.Control({
displayClass: 'olControlNavigation'
}),
new OpenLayers.Control.ModifyFeature(vector, {
vertexRenderIntent: 'temporary',
displayClass: 'olControlModifyFeature'
}),
new OpenLayers.Control.DrawFeature(vector, OpenLayers.Handler.Point, {
displayClass: 'olControlDrawFeaturePoint'
}),