OpenLayers OpenLayers

Ticket #1059: drawFeature.patch

File drawFeature.patch, 0.5 kB (added by euzuro, 1 year ago)

simple patch to make the drawFeature() function on OpenLayers.Layer.Vector a public API function. no functional change.

  • lib/OpenLayers/Layer/Vector.js

    old new  
    317317    }, 
    318318 
    319319    /** 
    320      * Method: drawFeature 
     320     * APIMethod: drawFeature 
    321321     * Draw (or redraw) a feature on the layer.  If the optional style argument 
    322322     * is included, this style will be used.  If no style is included, the 
    323323     * feature's style will be used.  If the feature doesn't have a style,