label with mapscript

joerg p superbla3000 at GMX.NET
Thu Jul 5 08:46:29 EDT 2007


Hello,

I have this simple layer:
LAYER
	NAME "citylabels"
	STATUS DEFAULT
	TRANSFORM FALSE
	TYPE ANNOTATION
	FEATURE
		POINTS
			200 150
		END
		TEXT 'Hello world.  Mapserver rocks.'
	END
	CLASS
		LABEL
			TYPE BITMAP
			COLOR 0 0 0
		END
	END
END

and would like to set the place and the text dynamically with 
php-mapscript.
Does anybody have a simple codesnippet?

best regrads
Joerg



More information about the mapserver-users mailing list