[Mapserver-users] no labels on dynamic layer

Frieso ter Haseborg ter-haseborg at sf-datentechnik.de
Mon Sep 15 06:50:54 EDT 2003


Hi Jim, Daniel,

drawLabelCache works - at least for the points. But there are still no
annotations for the lines. Is there an extra operation for the
line-layer required?

TIA,
 
Frieso ter Haseborg
- Software Development - 
 
--

-------------------------------------------------- 
S&F Datentechnik GmbH&Co.KG 
Reimersstr. 41b 
26789 Leer, Germany


>-----Original Message-----
>From: James Jefferson [mailto:jj at aprsworld.net]
>Sent: Friday, September 12, 2003 3:45 PM
>To: Frieso ter Haseborg
>Cc: mapserver-users at lists.gis.umn.edu
>Subject: Re: [Mapserver-users] no labels on dynamic layer
>
>
>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