mapfish. widgets. print. PrintAction

An OpenLayers control that generates a PDF based on the Map’s extent

Inherits from

Summary
mapfish. widgets. print. PrintActionAn OpenLayers control that generates a PDF based on the Map’s extent
Constructor
mapfish. widgets. print. PrintAction
Functions
fillSpecAdd the page definitions and set the other parameters.
getCurDpiOverride this method if you want to use another logic.
getCurLayoutOverride this method if you want to use another logic.

Constructor

mapfish. widgets. print. PrintAction

Parameters

config{Object} Config object

Functions

fillSpec

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.

Parameters

printCommand{mapfish.PrintProtocol} The print definition to fill.

getCurDpi

getCurDpi: function()

Override this method if you want to use another logic.

Returns

the first DPI.

getCurLayout

getCurLayout: function()

Override this method if you want to use another logic.

Returns

the first Layout.

fillSpec: function(printCommand)
Add the page definitions and set the other parameters.
getCurDpi: function()
Override this method if you want to use another logic.
getCurLayout: function()
Override this method if you want to use another logic.
Base class for the Ext components used to communicate with the print module, automatically take the layers from the given {OpenLayers.Map} instance.
Class to communicate with the print module.
Close