OpenLayers OpenLayers

Changeset 5336

Show
Ignore:
Timestamp:
12/04/07 05:07:09 (1 year ago)
Author:
elemoine
Message:

add a "clickout" option to Control.ModifyFeature

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sandbox/elemoine/playground/lib/OpenLayers/Control/ModifyFeature.js

    r5301 r5336  
    3030 
    3131    /** 
     32     * APIProperty: clickout 
     33     * {Boolean} Allow unselecting feature on clickout. 
     34     */ 
     35    clickout: false, 
     36 
     37    /** 
    3238     * Property: layer 
    3339     * {<OpenLayers.Layer.Vector>} 
     
    111117     */ 
    112118    drag: false, 
    113      
     119 
    114120    /** 
    115121     * Property: dragHandle 
     
    168174        // configure the select control 
    169175        var selectOptions = { 
     176            clickout: this.clickout, 
    170177            geometryTypes: this.geometryTypes, 
    171178            onSelect: function(feature) {