[mapserver-users] Dynamic Label Size

Steve Lime Steve.Lime at dnr.state.mn.us
Thu Jul 16 11:27:05 PDT 2009


Try...  map.layer[Compartments].class[0]=LABEL+SIZE+10+END

Steve

>>> On 7/16/2009 at 7:21 AM, in message <1247746900943-3268099.post at n2.nabble.com>,
stretch <andrew.deklerk at gmail.com> wrote:

> Hi
> 
> A couple of weeks ago, i posted a question about dynamically changing the
> label field through the URL. Steve pointed me to the answer of using a
> VALIDATION pattern and Substitution. This worked very well. 
> 
> I am now in another instance needing to look at changing the label size.
> 
> I have tried adding a "size" validation pattern -i.e.:
>  VALIDATION 
>        'size' '^7|8|9|10|11|12$' 
>     END
> 
>  as well as tried "map.layer[Compartments].class[0].label[0]=SIZE+10"
> 
> both to no joy
> 
> Could some please lead me in the right direction
> 
> Thanks in advance
> Andrew




More information about the MapServer-users mailing list