[mapserver-users] RE: HI
Özgür Arslan
ozgurarslan81 at hotmail.com
Wed Mar 21 05:37:04 PDT 2012
Hi All,
I am working on a project and I am trying to create a check box that shows polygon labels . How can create a label check box? If you share your ideas it will be very helpful. Thanks.
Also Thank you very much for your help Paolo Porti. It was very useful.
LAYER
NAME 'state'
TYPE POLYGON
DUMP false
EXTENT -148.317097 42.348600
DATA '../../../wwwroot/Data/state.shp'
METADATA
'ows_title' 'state_dd'
END
STATUS DEFAULT
TRANSPARENCY 100
PROJECTION
'proj=longlat'
'datum=WGS84'
'no_defs'
END
LABELITEM 'NAME_ENG'
CLASSITEM 'NAME_ENG'
CLASS
NAME "Alabama"
EXPRESSION "Alabama"
STYLE
WIDTH 0.91
OUTLINECOLOR 0 0 0
COLOR 130 9 169
END
LABEL
TYPE truetype
FONT "calibri"
SIZE 9
MINFEATURESIZE 40
END # End for label
END
CLASS
NAME "California"
EXPRESSION "British Columbia"
STYLE
WIDTH 0.91
OUTLINECOLOR 0 0 0
COLOR 62 106 166
END
LABEL
TYPE truetype
FONT "calibri"
SIZE 9
MINFEATURESIZE 40
END # End for label
END
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20120321/dbb003a4/attachment.htm>
More information about the MapServer-users
mailing list