[mapguide-users] QuiqePlot Mapguide-react is Not working - mg.v.3.1.1.4601
Nimrod Cnaan
nimcnaan at gmail.com
Mon Feb 13 08:26:49 PST 2023
Thank u for your helpful instructions.
Here is what I came up with (for AIMS 2017 >> PlotAsPDF.php):
1. "Map ID" In the layout defenition don't support Hebrew (for
QuickPlot.print.cmd).
2. "OPERATION=GETMAPLEGENDIMAGE&VERSION=*1.3.0*&..." - *Changed to*
"VERSION=*1.2.0*". Then,
$filelocation & $showLegend - Images are returned fine
3. QuickPlot.print.cmd Failed & Line 200
// Draw Map
$pdf->Image($filelocation, ($margin[2]), $margin[0], $printSize->width,
$printSize->height, "PNG", "", "", false, $printDpi, "", false, false, 1,
false, false, false);
4. If we commnet "//$pdf->Image..." - We get an Empty PDF file
בתאריך יום ו׳, 3 בפבר׳ 2023 ב-7:09 מאת Jackie Ng <
jumpinjackie at gmail.com>:
> I'll add to that previous thread with the following extra information:
>
> - QuickPlot in mapguide-react-layout is not doing anything special. It
> calls the same QuickPlot PHP backend that the regular Fusion widget does.
> So you should detach this problem as being a mapguide-react-layout specific
> problem. I am basically asserting here that your QuickPlot fusion widget
> probably has the same issue.
> - If you open PlotAsPDF.php and GeneratePicture.php in a text editor,
> there are comments that are to the effect of "uncomment to to see ...."
> uncommenting these regions will light up more debugging in these 2 scripts
> and is something you want to do if you want to dig further into why
> GeneratePicture.php is not returning an image. You only need to uncomment
> sections in PlotAsPDF.php to get the correct GeneratePicture.php URL (which
> is the important part you want to investigate)
> - If you enable the extra debugging in PlotAsPDF.php and
> GeneratePicture.php, then you most definitely want to set *display_errors
> = On* in php.ini otherwise these errors might be suppressed.
>
> In summary, you need to get GeneratePicture.php to spit out the raw PHP
> error(s) instead of (no image). Following these bullet points should get
> you there.
>
> - Jackie
>
> You wrote:
>
> We have tried to pull every trick
>
> <https://www.mail-archive.com/mapguide-users@lists.osgeo.org/msg24045.html>
>
> (trik2 <https://trac.osgeo.org/mapguide/ticket/2778#no1>) in the book with
>
> no success.
>
> Regards
>
> Nimrod C.
>
>
>
> --
> *Please Note: I no longer create new posts or post replies to any OSGeo
> mailing list through nabble. As a result, you most likely won't see this
> message appear on nabble's view of any OSGeo mailing list and may only see
> this message through mailing list archives or depending on your mailing
> list subscription settings, through daily message digests or automated
> notifications from the mailing lists.*
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapguide-users
>
--
בכבוד רב,
*נמרוד כנען** | *גיאומינד שירותי GIS – פיתוח, ייעוץ ושירותי ענן
ישיר: 048101268 | נייד: 0525355483 | nimrod at geomind.co.il
נא בקרו באתר החדש שלנו http://geomind.co.il
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20230213/5d19980a/attachment.htm>
More information about the mapguide-users
mailing list