Label layer...

Paul james pauljame at GMAIL.COM
Wed Apr 6 08:59:51 EDT 2005


Hi, I have a point layer with a label... I´d like to know how can I
turn on/turn off only the label ... May I do other layer ? Sample??
I´m using php/mapscript

Thank you

LAYER
	NAME state
	TYPE POINT
	STATUS ON
	CONNECTIONTYPE POSTGIS
	CONNECTION "user=x password=x dbname=x host= x" 
	DATA "the_geom from states"
	LABELITEM "name"
	LABELCACHE ON
	
	CLASS
		NAME "state_"
		OUTLINECOLOR 255 0 0
		COLOR 10 90 10
		SYMBOL 'circle'
	                SIZE 5
		LABEL
 		                FONT fritqat
			SIZE 6
			TYPE TRUETYPE
			COLOR 255 0 0
			FORCE TRUE
			OUTLINECOLOR 255 200 200
			PARTIALS TRUE
			POSITION AUTO
		END
	END



More information about the mapserver-users mailing list