Angular directive

removeAllDialogDirective source template

Description

Display warning dialog (modal) about removing all layers, in default opened when remove all layers function is used. Have option to remove all active layers, reload default composition of app or to cancel action. When used in current version of HS Layers, it is recommended to append this modal directive to #hs-dialog-area element and compile scope. Example

var el = angular.element('<div hs.layermanager.remove_all_dialog_directive></div>');
$("#hs-dialog-area").append(el)
$compile(el)($scope);