[mapguide-users] GETMAPLEGENDIMAGE options?

Kenneth Skovhede, GEOGRAF A/S ks at geograf.dk
Sun Oct 19 04:43:16 EDT 2008


Yes, the trac -> wait method is one option.
But knowning that the next beta release is on the way, any new features 
might not make it into that version.

Another approach would be to fix it in the MapGuide code, but that 
requires some fairly good C++ skills.
A third option would be to manually generate the legend in whatever 
serverside code language you use.

If you examine the "legend.aspx" (or .jsp, .php) you can see how the 
legend is built for html usage.
With that info, it is possible to render a legend both as html or as a 
static image.

Regards, Kenneth Skovhede, GEOGRAF A/S



Andrew DeMerchant skrev:
> So how do we get that fixed? Make a trac for it (assuming that there 
> isn't already one) and wait for a new version? It's really pretty ugly 
> as is - it makes printouts pretty much useless, unless you do it by 
> making a DWF and printing that.
>
> Andrew
>
>
> Kenneth Skovhede, GEOGRAF A/S wrote:
>> AFAIK there are no options for configuring the legend output.
>> Regards, Kenneth Skovhede, GEOGRAF A/S
>>
>>  
>>
>> Alex Fordyce skrev:
>>> I noticed this in 1.x and I still see this problem in 2.0.2. I too am
>>> interested in documentation and/or workaround within the layout. C#
>>> examples?
>>>
>>>
>>> andrew.demerchant wrote:
>>>  
>>>> Is there any documentation about the GETMAPLEGENDIMAGE mapagent 
>>>> operation? Currently, the legend image that I'm getting is pretty 
>>>> bad (note the attached image)...I'd like to be able to make a 
>>>> larger font size, and to be able to get rid of the border (or at 
>>>> least make the legend be /_inside_/ of it!). Anyone?
>>>>
>>>>
>>>> -- 
>>>>     *Andrew DeMerchant*
>>>> *Computer Technologist*
>>>> ph.1-877-2GEMTEC x.163
>>>> fax 506-453-9470
>>>>
>>>> /GEMTEC Limited <http://www.gemtec.ca>
>>>> /191 Doak Road
>>>> Fredericton, NB, Canada
>>>> E3C 2E6
>>>>
>>>>
>>>> _______________________________________________
>>>> mapguide-users mailing list
>>>> mapguide-users at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>>>
>>>>
>>>>     
>>>
>>>   
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> mapguide-users mailing list
>> mapguide-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-users
>>   
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list