new DrawToolView()
modules/tools/draw/view.js, line 41
Extends
Methods
-
deleteFeatures(){void}
modules/tools/draw/view.js, line 414 -
deletes all geometries from the layer
-
registerListener(){void}
modules/tools/draw/view.js, line 319 -
register the listeners on the map
-
removeSurface(){void}
modules/tools/draw/view.js, line 164 -
clears the tool when it is closed
-
render(model, isActive){Backbone.View}
modules/tools/draw/view.js, line 72 -
render the tool draw
Name Type Description model
Backbone.model draw model isActive
boolean from tool -
renderAfterLngChanged(model, isActive){Backbone.View}
modules/tools/draw/view.js, line 106 -
render the tool draw after the language changed
Name Type Description model
Backbone.model draw model isActive
boolean from tool -
renderGlyphicon(evt){void}
modules/tools/draw/view.js, line 339 -
render the glyphicon on mouse
Name Type Description evt
event MapBrwoserPointerEvent -
renderSelect(){void}
modules/tools/draw/view.js, line 90 -
Render bootstrap-select buttons
-
renderSurface(model, lastDrawTypeIndex){void}
modules/tools/draw/view.js, line 122 -
render this tool
Name Type Description model
Backbone.model draw model lastDrawTypeIndex
Number index of the last select for drawtype -
renewSurface(id){void}
modules/tools/draw/view.js, line 181 -
renews the surface of the drawtool
Name Type Description id
Number drawId -
setBufferDistance(evt){void}
modules/tools/draw/view.js, line 490 -
setter for buffer distance
Name Type Description evt
event with new distance -
setCircleRadius(evt){void}
modules/tools/draw/view.js, line 538 -
setter for radius on the model
Name Type Description evt
event with new radius -
setCircleRadiusOuter(evt){void}
modules/tools/draw/view.js, line 547 -
setter for radius on the model
Name Type Description evt
event with new radius -
setColor(evt){void}
modules/tools/draw/view.js, line 472 -
setter for new color on the model
Name Type Description evt
event with new color -
setColorContour(evt){void}
modules/tools/draw/view.js, line 500 -
setter for new strokecolor on the model
Name Type Description evt
event with new color -
setDrawType(evt){void}
modules/tools/draw/view.js, line 351 -
set drawtype on model
Name Type Description evt
event with selectedElement -
setFont(evt){void}
modules/tools/draw/view.js, line 431 -
setter for font on the model
Name Type Description evt
event with new font -
setFontSize(evt){void}
modules/tools/draw/view.js, line 451 -
setter for fontSize on the model
Name Type Description evt
event with new fontSize -
setRadius(evt){void}
modules/tools/draw/view.js, line 517 -
setter for radius on the model
Name Type Description evt
event with new radius -
setStrokeWidth(evt){void}
modules/tools/draw/view.js, line 556 -
setter for strokeWidth on the model
Name Type Description evt
event with new strokeWidth -
setText(evt){void}
modules/tools/draw/view.js, line 441 -
setter for text on the model
Name Type Description evt
event with new text -
setUnit(evt){void}
modules/tools/draw/view.js, line 461 -
setter for the unit of the circle diameter
Name Type Description evt
event with new fontSize -
startDownloadTool(){void}
modules/tools/draw/view.js, line 422 -
starts the download of the drawn features
-
startDrawInteraction(){void}
modules/tools/draw/view.js, line 370 -
starts the interaction with a new drawing and the map
-
startExporterTool(){void}
modules/tools/draw/view.js, line 565 -
Triggers Exporter job of drawn features
-
startImporterTool(){void}
modules/tools/draw/view.js, line 587 -
Triggers Importer to load features
-
toggleInteraction(evt){void}
modules/tools/draw/view.js, line 382 -
toggle the various interactions by event
Name Type Description evt
event with the interactions -
unregisterListeners(layerSource){void}
modules/tools/draw/view.js, line 329 -
unregister the listeners from the map and from layerSource
Name Type Description layerSource
ol/source/vector vector LayerSource -
unsetAllSelected(){void}
modules/tools/draw/view.js, line 403 -
deselects all buttons