Class: ReportPane

ReportPane()

The report pane. A location based report is shown here

Constructor

new ReportPane()

Source:

Methods

createBorehole()

Create a virtual borehole in the backend

Source:

fetchReport(map)

Fetch the report data from the backend via the reportQuery action

Parameters:
Name Type Description
map *

Reference of the map object

Source:

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

Source:

hidePane()

Hide the report pane

Source:

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

Source: