Opened 14 years ago

Closed 14 years ago

#165 closed enhancement (fixed)

GeoExtPrintForm - layer type validation

Reported by: adube Owned by:
Priority: major Milestone:
Component: widgets Version:
Keywords: Cc:

Description

Currently, when you try to print unsupported layer types with the GeoExtPrintForm widget, you can either get errors or missing images in the pdf document.

A quick and easy way to avoid that is to add a 'pre-print' validation. Unsupported or unauthorized layers (such as Google) would stop the print query from processing. These layers would need to be turned off before printing.

Change History (1)

comment:1 by adube, 14 years ago

Resolution: fixed
Status: newclosed

r911, featuring :

  • pre-print layer validation :
    • unsupported layers of the GeoExt.data.PrintProvider class don't stop the print query from being made since they are not included in the 'spec' sent
    • unsupported layers by the current MapFishPrint proxy of GeoPrisma stop the print query from being made. These are : Vector layer and WMS layer pointing to a TileCache service. Until these are fully supported by GeoPrisma, they shall remain like this.
  • new translations
  • a new sample featuring all kind of layers (except TileCache since the other print sample already has one and because I didn't have a EPSG:900913 cache ready).

All

Fixed.

Note: See TracTickets for help on using tickets.