Jody Garnett ha scritto:
Jody Garnett wrote:
I am looking forward to checking out the printing :-)
Printing worked great, the page looks good. The preview is wonderful.
When trying to do anything with the printed Map things go bad, changing
the CRS from 4326 to BC_Alberts resulted in a blank preview ...
I could recover returning to 4326 and zooming to extents.
The printing code builds a special MapViewport just for the sake of
rendering the map. The code was missing a copy of the original viewport
projection, thus leading to problems.
I've just fixed it (by copying the crs to the new viewport), yet I'm wondering
if this is really needed. I mean, can't the printing code just use the map
viewport?
I think it should be deeply copied by EcoreUtil.copy in CreatePageAction.java,
so it's independent of the original map.
Anyway, my fix seems to be working fine here
Cheers
Andrea
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel