Skip to content
Snippets Groups Projects
Commit e7f6b0e6 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

removing of selected area added

parent b8d2557f
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -19,7 +19,10 @@ SelectionContextMenu.prototype.constructor = SelectionContextMenu;
SelectionContextMenu.prototype._createSelectionContextMenuGui = function() {
var self = this;
self.addOption("Remove Selection");
self.addOption("Remove Selection", function() {
self.getMap().removeSelection();
self.getMap().turnOnOffDrawing();
});
};
module.exports = SelectionContextMenu;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment