Base class for the Ext panels used to communicate with the print module, automatically take 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. | Base class for the Ext panels used to communicate with the print module, automatically take the layers from the given {OpenLayers.Map} instance. |
Constructor | |
mapfish. | |
Properties | |
styleMap | {OpenLayers.StyleMap} An optional map style for the vector layer containing the print rectangle. |
Functions | |
fillSpec | Add the page definitions and set the other parameters. |
{OpenLayers.StyleMap} An optional map style for the vector layer containing the print rectangle.
Add the page definitions and set the other parameters. To be implemented by child classes.
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. |