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

DnD w/ beta.2 #49

Open
gregoryj98 opened this issue Jul 26, 2017 · 0 comments
Open

DnD w/ beta.2 #49

gregoryj98 opened this issue Jul 26, 2017 · 0 comments

Comments

@gregoryj98
Copy link

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){}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant