Protected
_customProtected
Optional
_dpiThe currently selected dpi.
Protected
_dpisThe supported DPIs by the print service.
Protected
Optional
_extentFeature representing the page extent.
Protected
_initiatedWhether this manger has been initiated or not.
Protected
Optional
_layoutThe currently selected layout.
Protected
_layoutsThe supported layouts by the print service.
Protected
Optional
_outputThe currently selected output format.
Protected
_outputThe supported output formats by the print service.
Protected
Optional
_printThe currently selected print application.
Protected
_printThe supported print applications by the print service.
Protected
_printID of currently started print job. Will be used while polling will be performed.
Protected
Optional
_printThe currently set map size defined with its width and height.
Protected
Optional
_scaleThe currently selected scale.
Protected
_scalesThe supported scales by the print service.
Protected
Optional
capabilitiesProtected
credentialsProtected
Optional
customProtected
Optional
customProtected
eventsThe registered events.
Protected
Optional
extentProtected
Optional
headersProtected
layerProtected
legendProtected
mapProtected
maskProtected
methodProtected
serializersProtected
timeoutProtected
Optional
transformProtected
Optional
urlStatic
APPS_The capabilities endpoint of the print service.
Static
CAPABILITIES_The capabilities endpoint of the print service.
Static
CUSTOM_The key in the layer properties to lookup for custom serializer options.
Static
EXTENT_The name of the vector layer configured and created by the print manager.
Static
TRANSFORM_The name of the transform interaction configured and created by the print manager.
Append (partial) map parameters
The parameters to append
Protected
calculateCalculates the extent based on a scale.
Optional
scale: numberThe scale to calculate the extent for. If not given, the current scale of the provider will be used.
The extent.
Protected
calculateCalculates the current rotation of the print extent feature.
Cancels current print job by id.
Print id to cancel.
Resets the currently set custom map parameters to an emtpy object
Dispatches the given event with the provided data.
The name of the event to dispatch.
The data to apply to the event callback.
Protected
downloadOpens the given URL in a new browser tab to download the given response (if header are set correctly).
The url to open.
Protected
filterChecks if a given layer should be printed.
The layer to check.
Whether the layer should be printed or not.
Protected
filterChecks if the legend of a given legend should be printed.
The layer to check.
Whether the legend of the layer should be printed or not.
Protected
getReturns attribute value contained in currently chosen layout by its name.
The attribute name (key) to be searched.
Obtained attribute value.
Protected
getDetermine the base path the application is running
The base host path
Protected
getReturns the closest scale to current print feature's extent.
Returns the closest scale to fit the print feature's extent into the current extent of the map.
Returns the currently set custom map parameters
Returns an individual custom param.
The custom param to get.
The custom param
Returns the custom params.
The custom params
Returns the currently selected dpi.
The currently selected dpi.
Returns all supported dpis.
The supported dpis.
Returns the extent layer.
The extent layer.
Returns the currently selected layout.
The currently selected layout.
Protected
getReturns an object containing configuration for layout based on its name
Layout name.
Layout configuration object.
Returns all supported layouts.
The supported layouts.
Returns the currently selected output format.
The currently selected output format.
Returns all supported output formats.
The supported output formats.
Returns the currently selected print application.
The currently selected print application.
Returns all supported print applications.
The supported print applications.
Protected
getComputes size of print extent in pixel depending on dimensions of print map and print scale.
Print map size containing its width and height.
Print scale.
Print extent size.
Returns print map size for chosen layout.
The map size.
Protected
getCollects the payload that is required for the print call to the print servlet.
The print payload.
Returns the currently selected scale.
The currently selected scale.
Returns all supported scales.
The supported scales.
Protected
getInitializes the manager.
Protected
initProtected
initInitializes the print extent feature.
The extent feature.
Protected
initInitializes the print extent layer.
Protected
initInitializes the transform interaction.
Whether this manager has been initiated or not.
Whether this manager has been initiated or not.
Protected
loadLoads the print capabilities from the provided remote source.
Protected
loadReturns all available print applications.
Promise containing available print apps.
Registers an event.
The name of the event to register.
The callback function to register.
Protected
onCalled on the extentLayer's postrender
event.
The ol render event.
Protected
onCalled on the extentLayer's prerender
event.
The ol render event.
Protected
onCalled on translate interaction's scaling
event.
Protected
pollProtected
pollResets the rotation of the print extent feature.
Protected
serializeSerializes/encodes the given layer.
The layer to serialize/encode.
The serialized/encoded layer.
Protected
serializeSerializes/encodes the legend payload for the given layer.
The layer to serialize/encode the legend for.
The serialized/encoded legend.
Set custom map parmeters
The parameters to set
Sets an individual custom param.
The key of the param.
The value of the param.
Sets the custom params.
The params to set.
Sets the dpi to use.
The value of the dpi to use.
Sets the layout to use. Updates the print extent accordingly.
The name of the layout to use.
Setter for legend filter
The new legend filter function
Sets the output format to use.
The name of the output format to use.
Sets the print application to use. For each print app the appropriate capabilities will be load and the manager will be initialized afterwards.
The name of the application to use.
Sets the supported print applications.
The supported print applications to set.
Sets the map size to use while printing.
The object containing width and height of printed map.
Rotates the print extent by the amount of the given rotation.
The amount to rotate.
Sets the scale to use. Updates the print extent accordingly.
The value of the scale to use.
Shuts down the manager.
Unregisters an event.
The name of the event to unregister.
The callback function to unregister.
Updates the geometry of the print extent feature to match the current scale.
Protected
validateValidates the given HTTP fetch response.
The response to validate.
Protected
wait
The MapFishPrintV3Manager.