Changeset 6802
- Timestamp:
- 04/07/08 04:07:25 (9 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/openlayers/lib/OpenLayers/Control/ModifyFeature.js
r6748 r6802 180 180 this.vertices = []; 181 181 this.virtualVertices = []; 182 this. styleVirtual= OpenLayers.Util.extend({},182 this.virtualStyle = OpenLayers.Util.extend({}, 183 183 this.layer.style || this.layer.styleMap.createSymbolizer()); 184 this. styleVirtual.fillOpacity = 0.3;185 this. styleVirtual.strokeOpacity = 0.3;184 this.virtualStyle.fillOpacity = 0.3; 185 this.virtualStyle.strokeOpacity = 0.3; 186 186 this.deleteCodes = [46, 100]; 187 187 this.mode = OpenLayers.Control.ModifyFeature.RESHAPE; … … 565 565 var point = new OpenLayers.Feature.Vector( 566 566 new OpenLayers.Geometry.Point(x, y), 567 null, control. styleVirtual567 null, control.virtualStyle 568 568 ); 569 569 // set the virtual parent and intended index
