Namespace: dialogMessage

dialogMessage

An other dialog to display message on top of other dialog.

Source:
dialog/dialogMessage.js

Members


<constant> dialogMessage

A ol-ext dialog to display messages on the map.
See ol/control/Dialog

Source:
dialog/dialogMessage.js

Methods


dialogMessage.show404(msg, error)

Display a 404 page

Parameters:
Name Type Description
msg string

message

error string

information

Source:
dialog/dialogMessage.js

dialogMessage.showAlert(msg [, buttons] [, onButton])

Display an alert dialog

Parameters:
Name Type Argument Description
msg string
buttons * <optional>

a list of buttons to show on the dialog, default only one ok button

onButton function <optional>

a fucntion that takes the button id, when click on a button

Source:
dialog/dialogMessage.js

dialogMessage.showMessage(msg [, buttons] [, onButton])

Display an message dialog

Parameters:
Name Type Argument Description
msg string
buttons * <optional>

a list of buttons to show on the dialog, default only one ok button

onButton function <optional>

a fucntion that takes the button id, when click on a button

Source:
dialog/dialogMessage.js

dialogMessage.showWait(msg)

Display a simple wait dialog

Parameters:
Name Type Description
msg string
Source:
dialog/dialogMessage.js