Automatically takes the layers from the given {OpenLayers.Map} instance.
If you put this panel directly inside an {Ext.TabPanel} or an accordion, it will activate/desactivate automaticaly. But if you have more complex layouts like windows or print panel in a panel in an {Ext.TabPanel}, it’s your responsability to call enable() and disable().
mapfish. widgets. print. SimpleForm | Automatically takes the layers from the given {OpenLayers.Map} instance. |
Constructor | |
mapfish. widgets. print. SimpleForm | |
Properties | |
formConfig | {Object} The configuration options passed to the form. |
wantResetButton | {Boolean} If true (default), display a reset position button |
infoPanel | {Ext.Panel} An optional panel displayed after form fields. |
Functions | |
fillSpec | Add the page definitions and set the other parameters. |
fillSpec: function( printCommand )
Add the page definitions and set the other parameters.
This method can be overriden to customise the spec sent to the printer. Don’t forget to call the parent implementation.
printCommand | {mapfish.PrintProtocol} The print definition to fill. |
Add the page definitions and set the other parameters.
fillSpec: function( printCommand )