GeoExtPrintForm.js

Summary
GeoExtPrintForm.js
Functions
beforePrintChecks if there are unsuppored layers currently visible on map and ask the user what to do about them.
showUnsupportedLayersShow the user the unsupported layer types and ask the user what to do about them.

Functions

beforePrint

beforePrint: function(printProvider,
map,
pages,
options)

Checks if there are unsuppored layers currently visible on map and ask the user what to do about them.

Parameters

printProvider {<GeoExt.data.PrintProvider>} map {<OpenLayers.Map>} pages {Array} options {Object}

Returns

{Boolean}

showUnsupportedLayers

showUnsupportedLayers: function(unsupportedLayers,
canPrint)

Show the user the unsupported layer types and ask the user what to do about them.

Parameters

unsupportedLayers {Array} Array of unsupported layers to show to the user canPrint {Boolean} Whether the user can print anyway or not

Returns

{Boolean}

beforePrint: function(printProvider,
map,
pages,
options)
Checks if there are unsuppored layers currently visible on map and ask the user what to do about them.
showUnsupportedLayers: function(unsupportedLayers,
canPrint)
Show the user the unsupported layer types and ask the user what to do about them.
Close