[mapserver-users] How to put a label on a legend?

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Wed Apr 29 06:25:20 PDT 2015


A label above the legend itself or something else? The former isn't supported that I'm aware of. You might be able to work around the limitation by using a dummy layer to affect the first row in the legend. --Steve
________________________________________
From: mapserver-users-bounces at lists.osgeo.org [mapserver-users-bounces at lists.osgeo.org] on behalf of Tom Price [tom_price at yahoo.com]
Sent: Tuesday, April 28, 2015 4:02 PM
To: Mapserver-Users
Subject: [mapserver-users] How to put a label on a legend?

Using C# Mapscript to produce a thematic map.

Map including the legend renders fine but I can't seem to put a label on the legend. Shouldn't this work?

_map.legend.label.setText("foo");

Thanks in advance.




More information about the mapserver-users mailing list