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

Jose Cerrejon gis at mapas-sll.com
Thu Dec 16 06:33:19 EST 2010


I just get it to work. Here is you missing:

Print.js

...
58       this.printablePdfURL = Fusion.getFusionURL() + widgetTag.location +
'Print/mappdf.php';    // new line

mappdf.php

21       $tempMapImgPath = "c:\\program
files\\OSGeo\\MapGuide\\Server\\Temp\\";   // your temp directory
...
118     $tempMapImgPath .= $ImageType.$sessionId.time().$ImageFormat;   //
(dot before equal) on saveImage function

Good Luck.
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Generate-a-pdf-view-of-the-current-map-tp5264270p5841637.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list