OpenLayers OpenLayers

Changeset 6985

Show
Ignore:
Timestamp:
04/21/08 04:03:00 (9 months ago)
Author:
tschaub
Message:

before feature added

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/topp/almanac/lib/OpenLayers/Layer/Vector.js

    r6849 r6985  
    329329              } 
    330330 
    331             this.features.push(feature); 
    332              
    333             //give feature reference to its layer 
    334             feature.layer = this; 
    335  
    336331            if (!feature.style && this.style) { 
    337332                feature.style = OpenLayers.Util.extend({}, this.style); 
     
    344339                this.preFeatureInsert(feature); 
    345340            } 
     341 
     342            this.features.push(feature); 
     343             
     344            //give feature reference to its layer 
     345            feature.layer = this; 
    346346 
    347347            if (this.drawn) {