[mapguide-users] Re: Print Layout - 2 questions...

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Fri Oct 3 13:54:19 EDT 2008

Not sure if he got the answers, but here they are:
1. You must change it in ajaxmappane.templ (line 293):
Look for:

var us = true;

and change to:

var us = false;

You have to change this every time update your MapGuide installation.

2. There is no built in way to do this, you must modify printablepage.templ.
Its a HTML file that gets sent to the browser with the map items injected.
You can set a logo anywhere on the page using some html:

<img src="mylogo.gif" style="position: absolute; top 5px; left: 5px">

If you want different printable pages for different solutions, you have 
to modify
at least printablepageui.templ.

Again, you have to change this every time update your MapGuide installation.

The files I mention are all located in:

C:\Program files\MapGuideOpenSource2.0\WebServerExtensions\www\viewerfiles

Regards, Kenneth Skovhede, GEOGRAF A/S

Warren Medernach skrev:
> Hi Andrew,
> Were you ever able to resolve this print layout issue?
> Warren M
>> I've got 2 questions about PrintLayouts....1) How do I make my units
> metres? I've got >every instance of <units> set to metres in my
> PrintLayout, and yet my scale bar insists >that the units are feet. 2)
> How the heck do you get a custom logo?? It seems so simple, >but I can't
> get it to work for the life of me....I've got a symbol library called
>> "Logo", and in it there is one symbol called "Gemlogo-smaller". I've
> tried all sorts of >variations on ResourceIDs, but can't get it. 
>> Andrew
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20081003/b69c4501/attachment.html

More information about the mapguide-users mailing list