Opened 13 years ago

Last modified 12 years ago

#227 new task

GeoExt.ux.PrintPreview new widget

Reported by: adube Owned by:
Priority: major Milestone: 1.8.0
Component: widgets Version: trunk
Keywords: bis-1.8.0 print Cc:

Description

Add the GeoExt.ux.PrintPreview widget and support it in both config drivers.

http://dev.geoext.org/ux/geoext.ux/ux/PrintPreview/examples/PrintPreview.html

Beware of the http://trac.osgeo.org/openlayers/ticket/2749

Attachments (1)

wfs_clone.patch (7.3 KB ) - added by jlacroix 13 years ago.
patch to fix OL ticket 2749

Download all attachments as: .zip

Change History (9)

comment:1 by adube, 13 years ago

r1053, featuring new geoextux_printpreview widget :

  • new GeoExt.ux.PrintPreviewAction class that automatically creates the GeoExt.ux.PrintPreview widget and its requirements.
  • documentation
  • sample (using mappanel and layer widgets)
  • i18n (French) for the action only
  • print validations
  • PGSQLMapContextConfig support

Important

  • projection : setting the OpenLayers.Map 'projection' property is mandatory in order to have the GeoExt.PrintMapPanel widget to work properly
  • i18n : to have the GeoExt.ux.PrintPreview original widget translation, you must load it manually in the xslt template file and use GeoExt.Lang.set('the_code'). That change was applied to the 'samples.xslt' template file.

Known issues

  • Layers created by other than the Layer widget are added first, thus when opening the print preview window they are hidden behind other layers. A ticket was opened for that #230.

Please review.

comment:2 by adube, 13 years ago

r1054, featuring a bug fix when using the widget with the <map> widget instead of the <mappanel> and <layer> widgets.

Note : the layer ordering issue is not present when using the <map> widget because it is already added as the first widget (followed by the mapfishlayertree), thus resulting in having its layers created first.

by jlacroix, 13 years ago

Attachment: wfs_clone.patch added

patch to fix OL ticket 2749

comment:3 by adube, 12 years ago

Milestone: 1.2.0

Not included in 1.0, so bumped to 1.2.

comment:4 by adube, 12 years ago

Milestone: 1.2.01.4.0

Not ready to become 'stable'. Pushed to 1.4.

comment:5 by adube, 12 years ago

Keywords: bis-1.4.0 added
Version: trunk

comment:6 by adube, 12 years ago

OpenLayers still has its cloning issue, which breaks the map when printing vector features from featureserver and wfs vector layers :

http://trac.osgeo.org/openlayers/ticket/2749

This fix in GeoExt.PrintMapPanel would be a nice workaround and would solve the issue :

https://github.com/geoext/geoext/pull/33

comment:7 by adube, 12 years ago

Keywords: bis-1.6.0 added; bis-1.4.0 removed
Milestone: 1.4.01.6.0

No patch, pushed to 1.6.

comment:8 by adube, 12 years ago

Keywords: bis-1.8.0 added; bis-1.6.0 removed
Milestone: 1.6.01.8.0

No patch, pushed to 1.8.

Note: See TracTickets for help on using tickets.