From: Lukas J. <luk...@de...> - 2011-04-06 09:34:41
|
Sure you could use the MapFish printer module to print the map and all its overlays (including vectordata). To get it to work you either need to load and wrap the Mapfish printprotocol (just one or two javascriptfiles needed) or write a "client"in gwt that sends the request to mapfish printerserver accourding to their restapi. Bear in mind though that all mapfish code is GPL3.0 and therefore has copy-left. On the server this is not a problem as you could deploy it either as a standalone server or as a part of geoserver. Using their js-files on the client side means that all your code must be released as GPL3.0 Another solution might be to create a printerfriendly view with openlayers and open this in a new window. This view could then be printed by the browser. /Lukas Från: Mckeane Thomas [mailto:tho...@gm...] Skickat: den 5 april 2011 18:11 Till: Gwt...@li... Ämne: [Gwt-openlayers-users] Print overlayed maps in gwt-openlayers. Hello, Is it possible to print maps/map areas (overlayed or not) using gwt-openlayers application? If I have a map with two or more layers overlayed of size say for example 50000 x 50000px previewing in gwt-openlayers, is there a way to print this image on a large paper while maintaining the quality of the image printed? Here's an example application: http://dev4.mapgears.com/bdga/bdgaWFS-T.html. Best Regards, Mckeane |