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 |
closeOverlay()
Close the pilot area info pane
hidePane()
Hide the report pane
locationCenter()
Make sure the center is based on the correct information
showInfoPane()
Show the pilot area info pane
showReport()
Show the report pane
switchDialog()
Toggle the dialog where the user can switch to a different pilotarea
toggleLayer(layers)
Toggle the layers
Parameters:
Name | Type | Description |
---|---|---|
layers |
toggleMeasurements()
Show or hide the field measurements on the map
zoomToExpert(id)
Zoom the map to a local expert
Parameters:
Name | Type | Description |
---|---|---|
id |
* | ID of the expert |
zoomToQuery(coords)
Move the map so the location query is in the center
Parameters:
Name | Type | Description |
---|---|---|
coords |
Coords of the location query |