OpenLayers OpenLayers

Changeset 6490

Show
Ignore:
Timestamp:
03/11/08 12:02:39 (10 months ago)
Author:
tschaub
Message:

Documenting onModification* methods as deprecated in ModifyFeature control.

Files:

Legend:

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

    r6413 r6490  
    132132    /** 
    133133     * APIProperty: onModificationStart  
    134      * {Function} Optional function to be called when a feature is selected 
     134     * {Function} *Deprecated*.  Register for "beforefeaturemodified" instead. 
     135     *     The "beforefeaturemodified" event is triggered on the layer before 
     136     *     any modification begins. 
     137     * 
     138     * Optional function to be called when a feature is selected 
    135139     *     to be modified. The function should expect to be called with a 
    136140     *     feature.  This could be used for example to allow to lock the 
     
    141145    /** 
    142146     * APIProperty: onModification 
    143      * {Function} Optional function to be called when a feature has been 
     147     * {Function} *Deprecated*.  Register for "featuremodified" instead. 
     148     *     The "featuremodified" event is triggered on the layer with each 
     149     *     feature modification. 
     150     * 
     151     * Optional function to be called when a feature has been 
    144152     *     modified.  The function should expect to be called with a feature. 
    145153     */ 
     
    148156    /** 
    149157     * APIProperty: onModificationEnd 
    150      * {Function} Optional function to be called when a feature is finished  
     158     * {Function} *Deprecated*.  Register for "afterfeaturemodified" instead. 
     159     *     The "afterfeaturemodified" event is triggered on the layer after 
     160     *     a feature has been modified. 
     161     * 
     162     * Optional function to be called when a feature is finished  
    151163     *     being modified.  The function should expect to be called with a 
    152164     *     feature.