Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

DnD w/ beta.2 #49

@gregoryj98

Description

@gregoryj98

Some fixes for removing layers DnD on beta.2:
DnD.js
add around line 242 - this.droppedItems[file.name].setLayerIds([ this.createLayerID('csv-' + file.name)])
add around line 336 - this.droppedItems[url].setLayerIds([layer.id]);
edit around line 680 - id:this.droppedItems[filename].getLayerIds()[0]
LayerControl.js
add around line 239 - try {layerControl._scaleRangeHandler.remove();
}catch(err){}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions