Replace tabs with spaces where appropriate.
This commit is contained in:
@@ -22,12 +22,12 @@
|
||||
*/
|
||||
OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
|
||||
/**
|
||||
/**
|
||||
* APIProperty: documentDrag
|
||||
* {Boolean} If set to true, dragging vertices will continue even if the
|
||||
* mouse cursor leaves the map viewport. Default is false.
|
||||
*/
|
||||
documentDrag: false,
|
||||
documentDrag: false,
|
||||
|
||||
/**
|
||||
* APIProperty: geometryTypes
|
||||
@@ -252,7 +252,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
|
||||
|
||||
// configure the drag control
|
||||
var dragOptions = {
|
||||
documentDrag: this.documentDrag,
|
||||
documentDrag: this.documentDrag,
|
||||
geometryTypes: ["OpenLayers.Geometry.Point"],
|
||||
onStart: function(feature, pixel) {
|
||||
control.dragStart.apply(control, [feature, pixel]);
|
||||
|
||||
Reference in New Issue
Block a user