[mapserver-users] changing dynamically LABEL BACKGROUNDCOLOR

Lime, Steve D (DNR) Steve.Lime at state.mn.us
Tue Feb 1 10:07:07 EST 2011


Actually I just ran a test against 5.6 and found I could change a labels background color via URL. Syntax is:

  map.layer[some_layer].class[0]=LABEL+BACKGROUNDCOLOR+255+0+0+END

Steve
________________________________________
From: tommaso [tommasodb at googlemail.com]
Sent: Monday, January 31, 2011 11:36 AM
To: Lime, Steve D (DNR)
Cc: mapserver-users at lists.osgeo.org
Subject: RE: [mapserver-users] changing dynamically LABEL BACKGROUNDCOLOR

Hallo Steve,

I can try to hack the source (or rather I'll ask a workmate). More details were welcome, thanks.

Regards,
Tommaso


On Mon, 2011-01-31 at 10:08 -0600, Lime, Steve D (DNR) wrote:


Been on a short holiday, where did this get left? If you can hack the source it's a very simple change (I think) to maplexer.l to allow the updates you need. I can provide more direction if necessary.  - Steve

________________________________________
From: mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> [mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org>] On Behalf Of tommaso [tommasodb at googlemail.com<mailto:tommasodb at googlemail.com>]
Sent: Thursday, January 27, 2011 11:55 AM
To: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: Re: [mapserver-users] changing dynamically LABEL BACKGROUNDCOLOR

On Thu, 2011-01-27 at 16:47 +0100, Julien Cigar wrote:


use SLD ?


Thanks, this were a solution but I should radically change my project. I will try it if there is not other ways.
Other ideas?

Tommaso










More information about the mapserver-users mailing list