[fusion-dev] Custom Printing Widget Issue
Kori Maleski
kori.maleski at gmail.com
Tue Mar 23 15:18:28 EDT 2010
Thanks Mike,
I am trying to find out if it is some issue with Adobe or Primo print to pdf
software.
It doesn't make sense that the Google layer prints but the MapGuide fails.
A head scratcher.
I will post code if I cannot resolve
Cheers,
Kori Maleski
On Tue, Mar 23, 2010 at 11:55 AM, Mike Adair <madair at dmsolutions.ca> wrote:
> I checked the MapGuide Layer hierarchy in OpenLayers and I couldn't find a
> tile size restriction anywhere.
>
> Mike
>
>
> Kori Maleski wrote:
>
>> Hi all,
>>
>> I am developing a custom printing widget that prints the MapGuide map with
>> a
>> Commercial overlay such as Google to all ANSI paper sizes. To do this I
>> am
>> using an OpenLayers.Map object to display a print preview.
>>
>> The widget and code is sound (I think) - working as expected but:
>>
>> When printing to PDF, the MapGuide layer does not print when the
>> OpenLayers.Layer.MapGuide tileSize width is greater than 1000px.
>>
>> So 11x17 portrait w 792px h 1224px MapGuide Layer displays in the preview
>> and
>> prints to PDF 17x22 portrait w 1224px h 1584px MapGuide Layer displays in
>> the preview and
>> fails to appear in the PDF
>>
>> The Google layer does print to the PDF with no issue no matter what ANSI
>> size is used.
>>
>> Is there some kind of MapGuide tileSize constraint for the
>> OpenLayers.Layer.MapGuide? Or does anyone have an idea or suggestion of
>> what may be wrong? I set the tileSize.w and tileSize.h to the layer
>> before
>> rendering.
>>
>> I don't have a plotter to test if the Print Preview actually prints to
>> printer with/or without the same issue.
>> Hence why I need this to go to PDF.
>>
>> Any pointers would be most welcome.
>>
>> Cheers,
>>
>> Kori Maleski
>>
>>
>>
>
> --
> Michael Adair
> Senior Software Architect
> DM Solutions Group Inc.
>
> Office: (613) 565-5056 x26
> madair at dmsolutions.ca
> http://www.dmsolutions.ca
> http://research.dmsolutions.ca
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fusion-dev/attachments/20100323/8d6b8023/attachment.html
More information about the fusion-dev
mailing list