Class: WebGis

WebGis()

Web GIS main component. Controls the map display and the location queries + report

Constructor

new WebGis()

Source:

Methods

addressSearchSuccess(newCenter)

The address search was successfull and a marker is set to the searched location

Parameters:
Name Type Description
newCenter *

Coords of the searched address

Source:

closeOverlay()

Close the pilot area info pane

Source:

hidePane()

Hide the report pane

Source:

locationCenter()

Make sure the center is based on the correct information

Source:

showInfoPane()

Show the pilot area info pane

Source:

showReport()

Show the report pane

Source:

switchDialog()

Toggle the dialog where the user can switch to a different pilotarea

Source:

toggleLayer(layers)

Toggle the layers

Parameters:
Name Type Description
layers
Source:

toggleMeasurements()

Show or hide the field measurements on the map

Source:

zoomToExpert(id)

Zoom the map to a local expert

Parameters:
Name Type Description
id *

ID of the expert

Source:

zoomToQuery(coords)

Move the map so the location query is in the center

Parameters:
Name Type Description
coords

Coords of the location query

Source: