Methods
createBorehole()
Create a virtual borehole in the backend
fetchReport(map)
Fetch the report data from the backend via the reportQuery action
Parameters:
Name | Type | Description |
---|---|---|
map |
* | Reference of the map object |
getPDF()
Create a PDF report in the backend via the dispatched action To create the PDF, the map in the report pane needs to be transitioned to a base64 string
hidePane()
Hide the report pane
loadedBorehole()
If a borehole is loaded we need to do some stuff do display it properly. Texts in the borehole SVG get translated The borehole gets filled manually with rectangles between the lines that represent a unit in the borehole