Merge pull request #276 from jorix/remove_unused_code

Remove unused snappingOptions.
This commit is contained in:
Tim Schaub
2012-03-04 19:10:41 -08:00
-1
View File
@@ -246,7 +246,6 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
// configure the drag control // configure the drag control
var dragOptions = { var dragOptions = {
geometryTypes: ["OpenLayers.Geometry.Point"], geometryTypes: ["OpenLayers.Geometry.Point"],
snappingOptions: this.snappingOptions,
onStart: function(feature, pixel) { onStart: function(feature, pixel) {
control.dragStart.apply(control, [feature, pixel]); control.dragStart.apply(control, [feature, pixel]);
}, },