Leaflet.FileLayer icon indicating copy to clipboard operation
Leaflet.FileLayer copied to clipboard

data:loaded could return the original data too

Open ccloquet opened this issue 8 years ago • 1 comments

On line 51,

the data:loaded event could also return the original data, so it can be further processed/stored in the app

this.fire('data:loaded', 
    {
        layer: layer, 
        filename: file.name, 
        format: ext, 
        result:e.target.result
    }
);

ccloquet avatar Apr 26 '16 13:04 ccloquet

Nice addition, very useful.

manuamador avatar Jul 20 '18 09:07 manuamador