[mapguide-users] MapGuide REST plot.pdf?layeredpdf=1 doesn't work for maps with base layer groups
Berg, James
James.Berg at stantec.com
Thu Oct 2 06:39:09 PDT 2014
Windows Server 2008 64-bit
MapGuide Opensource 2.5.2
MapGuide REST 0.10
MapGuide REST is a very nice thing with many valued features. Here's an error I found while exploiting its functionality:
Creating a layered PDF using MapGuide REST doesn't seem to work for maps that have base layer groups. Here's how to reproduce the error:
1. Open localhost/mapguide/dotnetviewersample/ajaxtiledviewersample.aspx
2. Find the SessionId in the query string from the TaskPane.
3. In another window open localhost/mapguide/rest/session/[SessionId]/Sheboygan.Map/plot.pdf?layeredpdf=1
Page displays an error instead of the PDF.
This error does not occur when using a non-tiled map such as
localhost/mapguide/dotnetviewersample/ajaxviewersample.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapguide-users/attachments/20141002/5d448442/attachment.html>
More information about the mapguide-users
mailing list