[mapserver-users] problem with my "label"
Steve Lime
Steve.Lime at dnr.state.mn.us
Tue Apr 21 09:30:51 PDT 2009
Add LABELITEM "NM_DESA" to your layer definition.
Steve
>>> On 4/21/2009 at 11:15 AM, in message
<796057.12747.qm at web54205.mail.re2.yahoo.com>, MeLv1n wAuRaN
<death_knight0911 at yahoo.com> wrote:
> Hi all,
>
> i have a problem that needs to be solved soon. I included a label in a layer
> but the label does not appear in my browser. In the .dbf file, the
> informations i want to display as the labels are in the 5th column with the
> name "NM_DESA"
>
> i use openlayers 2.7 to run my mapserver mapfile. Can anyone help me? thx
>
> here's my detail:
>
> LAYER
> NAME "Tanah"
> DATA "Desa"
> STATUS ON
> TYPE POLYGON
> METADATA
> "DESCRIPTION" "Tanah"
> END
> CLASS
> LABEL
> FONT "sans"
> TYPE TRUETYPE
> SIZE 8
> BUFFER 1
> COLOR 0 0 0
> FORCE TRUE
> END
> COLOR 225 200 100
> OUTLINECOLOR 0 0 0
> END
> END
>
>
> Cheers,
> Melvin
>
>
>
>
More information about the MapServer-users
mailing list