Discussion:
[mapguide-users] Mapguide 3.0 printing and quickplot
BMason
2017-12-13 04:12:22 UTC
Permalink
Hello all, has anyone had success in using either the print or quickplot
tools in mapguide 3.0? Also is it possible to include external basemap
providers such as google and bing? thanks (the basemaps are not included
when I print or I get an error)



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Lisa Weber
2017-12-13 04:21:52 UTC
Permalink
Hi there,

Yes I have success using both, in 3.0 and in 3.1. However, the basemaps are proprietary and can be used only with an API key. As such, they are not allowed to be part of the physical print as that removes control of the imagery. I am not aware of any programmatic method to overcome this restriction and would not recommend it be used even if possible.

Cheers,
Lisa



-----Original Message-----
From: mapguide-users [mailto:mapguide-users-***@lists.osgeo.org] On Behalf Of BMason
Sent: Wednesday, 13 December 2017 2:12 PM
To: mapguide-***@lists.osgeo.org
Subject: [mapguide-users] Mapguide 3.0 printing and quickplot

Hello all, has anyone had success in using either the print or quickplot
tools in mapguide 3.0? Also is it possible to include external basemap
providers such as google and bing? thanks (the basemaps are not included when I print or I get an error)



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
mapguide-***@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users
BMason
2017-12-13 18:03:20 UTC
Permalink
Thanks Lisa, did both quickplot and print work without any problems when
using the flexible web layout or did you need to modify any code?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
GordonL
2017-12-13 21:07:46 UTC
Permalink
Hi Brad,
the default install of MapGuide often does not tweak the PHP.INI to allow
for Quick Plot.

You need to change the file so that the following is uncommented (no
semi-colon)

extension=php_gd2.dll

-around line 632 of the php.ini

Then restart IIS

This will ensure the Quick Plot can run otherwise you get the error:
Fatal error: Call to undefined function imagecreatefromjpeg()





--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
Lisa Weber
2017-12-16 01:30:19 UTC
Permalink
I didn't need to make changes but I'm using Apache. The only modifications I made were to add more scales into the widget javascript.

Lisa

-----Original Message-----
From: mapguide-users [mailto:mapguide-users-***@lists.osgeo.org] On Behalf Of BMason
Sent: Thursday, 14 December 2017 4:03 AM
To: mapguide-***@lists.osgeo.org
Subject: Re: [mapguide-users] Mapguide 3.0 printing and quickplot

Thanks Lisa, did both quickplot and print work without any problems when using the flexible web layout or did you need to modify any code?



--
Sent from: http://osgeo-org.1560.x6.nabble.com/MapGuide-Users-f4182607.html
_______________________________________________
mapguide-users mailing list
mapguide-***@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapguide-users

Loading...