Printout
Description
Manages settings panel when user has entered to the print mode.
Screenshot
Bundle configuration
No configuration is required. Optional configuration is available for customized scale selection.
{
"scaleSelection": true,
"scales": [500,1000,10000,25000,50000,100000]
}
- scaleSelection is to show scale selection (defaults to false)
- scales define custom scales for scale selection, if not defined defaults to map scales
Requests the bundle handles
Request | How does the bundle react |
printout.PrintMapRequest | Prints map with given selections |
Requests the bundle sends out
Request | Why/when |
DisableMapKeyboardMovementRequest | Disables keyboard listener for map movements |
EnableMapKeyboardMovementRequest | Enables keyboard listener for map movements |
userinterface.UpdateExtensionRequest | Bundle closes all flyouts when entering printing mode and its own flyouts when user clicks cancel button. |
Events the bundle listens to
Event | How does the bundle react |
AfterMapMoveEvent | Refresh print preview |
Dependencies
Dependency | Linked from | Purpose |
jQuery | Linked in portal theme | Used to create the component UI from begin to end |