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 msgstring message
errorstring information
- Source:
- dialog/dialogMessage.js
-
dialogMessage.showAlert(msg [, buttons] [, onButton])
-
Display an alert dialog
Parameters:
Name Type Argument Description msgstring buttons* <optional>
a list of buttons to show on the dialog, default only one ok button
onButtonfunction <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 msgstring buttons* <optional>
a list of buttons to show on the dialog, default only one ok button
onButtonfunction <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 msgstring - Source:
- dialog/dialogMessage.js