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

Pedro Venâncio pedrongvenancio at yahoo.com
Mon Oct 10 06:09:30 EDT 2011


Hello everyone,

Excellent sharing Ram282!

I made all these changes, but when I use the Fusion Print on an application created in Maestro, the print works as before, with normal printablepage.

I am using the original print widget, it is necessary to make any changes to the widget in Maestro?

I have MapGuide 2.2 with PHP on Windows7 x64.

Thank you very much!

Best regards,
Pedro



----- Original Message -----
From: Steve G 


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. 
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Generate-a-pdf-view-of-the-current-map-tp5264270p5843624.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users



More information about the mapguide-users mailing list