code: function() {
          if(this.vertices.length > 0) {
              this.layer.removeFeatures(this.vertices, {silent: true});
              this.vertices = [];
          }
          if(this.virtualVertices.length > 0) {
              this.layer.removeFeatures(this.virtualVertices, {silent: true});
              this.virtualVertices = [];
          }
          if(this.dragHandle) {
              this.layer.destroyFeatures([this.dragHandle], {silent: true});
              this.dragHandle = null;
          }
          if(this.radiusHandle) {
              this.layer.destroyFeatures([this.radiusHandle], {silent: true});
              this.radiusHandle = null;
          }
          if(this.feature &&
             this.feature.geometry.CLASS_NAME != "OpenLayers.Geometry.Point") {
              if((this.mode & OpenLayers.Control.ModifyFeature.DRAG)) {
                  this.collectDragHandle();
              }
              if((this.mode & (OpenLayers.Control.ModifyFeature.ROTATE |
                               OpenLayers.Control.ModifyFeature.RESIZE))) {
                  this.collectRadiusHandle();
              }
              if(this.mode & OpenLayers.Control.ModifyFeature.RESHAPE){
                  // Don't collect vertices when we're resizing
                  if (!(this.mode & OpenLayers.Control.ModifyFeature.RESIZE)){
                      this.collectVertices();
                  }
              }
          }
      }
docs: Method: resetVertices