Adding preserveCenter config option

This commit is contained in:
Pierre GIRAUD
2012-11-30 13:29:12 +01:00
parent 257b249b9d
commit 0a131f380a
2 changed files with 15 additions and 3 deletions
+3
View File
@@ -22,6 +22,9 @@ var init = function () {
controls: [
new OpenLayers.Control.Attribution(),
new OpenLayers.Control.TouchNavigation({
pinchZoomOptions: {
preserveCenter: true
},
dragPanOptions: {
enableKinetic: true
}