[Mapserver-users] no labels on dynamic layer
James Jefferson
jj at aprsworld.net
Fri Sep 12 06:45:07 PDT 2003
You need to do an explicit drawLabelCache() call after completing your layer.
I was mystified by this for quite a while.
For an example, see:
http://maps.aprsworld.net/mapserver/area/area.phps
Or the relevant snippet of code:
$img = $GLOBALS["goMap"]->draw();
createAPRSTrackLayer($db, $img);
$GLOBALS["goMap"]->drawLabelCache($img);
$url = $img->saveWebImage();
-Jim
More information about the MapServer-users
mailing list