OpenLayers OpenLayers

Changeset 6802

Show
Ignore:
Timestamp:
04/07/08 04:07:25 (9 months ago)
Author:
ahocevar
Message:

fixed typo: replaced styleVirtual with virtualStyle, so it matches the API property. r=crschmidt (pullup #1495)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/openlayers/lib/OpenLayers/Control/ModifyFeature.js

    r6748 r6802  
    180180        this.vertices = []; 
    181181        this.virtualVertices = []; 
    182         this.styleVirtual = OpenLayers.Util.extend({}, 
     182        this.virtualStyle = OpenLayers.Util.extend({}, 
    183183            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; 
    186186        this.deleteCodes = [46, 100]; 
    187187        this.mode = OpenLayers.Control.ModifyFeature.RESHAPE; 
     
    565565                            var point = new OpenLayers.Feature.Vector( 
    566566                                new OpenLayers.Geometry.Point(x, y), 
    567                                 null, control.styleVirtual 
     567                                null, control.virtualStyle 
    568568                            ); 
    569569                            // set the virtual parent and intended index