[Geoprisma-dev] Print server update
Alexandre Dube
adube at mapgears.com
Wed Mar 31 08:18:06 EDT 2010
Yves,
Here's some comments :
- First, see the print examples in GeoExt :
http://dev.geoext.org/trunk/geoext/examples/print-page.html
http://dev.geoext.org/trunk/geoext/examples/print-preview.html
http://dev.geoext.org/trunk/geoext/examples/print-extent.html
http://dev.geoext.org/trunk/geoext/examples/print-form.html
- Rather than modifying the existing PDFPrint widget, I would create a
complete new one. Since it's a GeoExt widget directly used as it is, I
would create a 'geoext' directory and create a 'printpage' widget in
it. I know some other widgets should have been inside that folder as
well... it doesn't matter for now...
- Looking at the examples above makes me think of a bunch of options
the widget could have in order to be able to 'draw' the widget in every
different way (just look at the examples)
- I wouldn't use the 'mapfishlayertree' in the first example.
Instead, use the GeoExt LegendPanel. Even better, at first, don't use
any at all. Just concentrate on having a new print widget.
What do you think ?
Kind regards,
Alexandre
Yves Moisan wrote:
> HI All,
>
> I've just re-built the MapFish print server on geoprisma.org using the
> latest build method which involves the use of Gradle rather than plain
> Maven and it worked really well :
> http://trac.osgeo.org/geoprisma/ticket/78#comment:4. The resulting
> war file is about half a MB larger than the previous one, so I guess
> we're good to go testing out some code for the legend.
>
> Now I'd like to know what to do in the PDFPrint widget code to try
> out GeoExt's simple print widget. I started modifying a local copy of
> the PDFPrint sample config and template to add a <mapfishlayertree>
> object, but maybe we don't need to add a layertree in the config but
> just include GeoExt simple print in the template ? Cues appreciated.
>
> Cheers,
>
> Yves
> _______________________________________________
> Geoprisma-dev mailing list
> Geoprisma-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geoprisma-dev
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Geoprisma-dev
mailing list