Class: MeasureView

Tools.Measure MeasureView

MeasureView

new MeasureView()

modules/tools/measure/view.js, line 28
Fires:

Extends

Methods

activeBtnDelete(){void}

modules/tools/measure/view.js, line 202
Activates the element with the class "measure-select-delete" by adding the "active" class and setting various CSS properties.

activeBtnModify(){void}

modules/tools/measure/view.js, line 167
Activates the element with the class "measure-select-modify" by adding the "active" class and setting various CSS properties.

deactiveBtnDelete(){void}

modules/tools/measure/view.js, line 218
Deactivates the elements with the class "measure-select-delete" by removing the "active" class and resetting various CSS properties.

deactiveBtnDeleteM(){void}

modules/tools/measure/view.js, line 235
Deactivates the elements with the class "measure-delete" by removing the "active" class and resetting various CSS properties.

deactiveBtnModify(){void}

modules/tools/measure/view.js, line 183
Deaktiviert das Element mit der Klasse "measure-select-modify" durch Entfernen der Klasse "active" und Zurücksetzen verschiedener CSS-Eigenschaften.

deleteFeatures(){void}

modules/tools/measure/view.js, line 85
Deletes all geometries from the layer.

deleteSelectFeatures(){void}

modules/tools/measure/view.js, line 124
Deletes selected features based on the button's active state. If the delete button is active, it performs specific actions; otherwise, it performs alternative actions.

modifySelectFeatures(){void}

modules/tools/measure/view.js, line 145
Modify selected Features

removeIncompleteDrawing(){void}

modules/tools/measure/view.js, line 250
removes the last drawing if it has not been completed

render(model, value, dropdownUpdate){this}

modules/tools/measure/view.js, line 54
renders the view
Name Type Description
model object Measure Model
value boolean Rückgabe eines Boolean
dropdownUpdate boolean Indicating if the unit dropdown shall be rerendered

showDropdownModelUnit(){void}

modules/tools/measure/view.js, line 259
Shows the dropdown for selecting model units and deactivates related buttons.

unregisterListener(){void}

modules/tools/measure/view.js, line 270
logs listeners to specific events
Fires: