[mapguide-users] Re: Generate a pdf view of the current map

Michael Adair madair at dmsolutions.ca
Fri Dec 17 09:27:23 EST 2010


If this is a Fusion issue, can I get one of you to create a ticket with 
this info, or even better a patch, on the Fusion Trac system to make 
sure this doesn't get lost?
http://trac.osgeo.org/fusion/


Mike

On 16/12/2010 4:41 PM, Steve G wrote:
> I didn't need luck, just your help!!!  Your changes worked.  Just to note:
>
> mappdf.php
>
> 118     $tempMapImgPath .= $ImageType.$sessionId.time().$ImageFormat;   //
> (dot before equal) on saveImage function
>
>
> Should be at line 128
>
>
> Also, you need to have a "fonts" folder in the same directory as fpdf.php
> file (typical is C:\Program
> Files\OSGeo\MapGuide\Web\www\fusion\layers\MapGuide\php)
>
> The resulting pdf image isn't the best quality, so I'll have to figure out
> some additional tweaks...(anyone care to share?), but pdf creation at least
> is possible.



More information about the mapguide-users mailing list