how to use pictures as labels

Hal Mueller hal at MOBILEGEOGRAPHICS.COM
Tue Nov 7 03:16:05 EST 2006


Are the surrounding labels data-dependent?  Or is there a small 
number of states?

One way to approach this is to pre-render the point icon plus 
"labels", and use that image as the icon for your plot.

Another way to do it would be to have 5 different layers, one for 
each of the different images.  The trick is that for the 4 layers 
representing the layers, you use a large icon, but with the image 
off-centered.  That is, make 4 copies of your "image 2".  In each 
copy, delete the red circle.  In copy one, delete all but the green 
rectangle.  In copy two, delete all but the purple diamond.

Hal



More information about the mapserver-users mailing list