[mapserver-users] How do I create an embedded legend with all layers and layer name?

Ragnar Østerø ragnar at munin.fo
Wed Jul 2 10:32:22 EDT 2008


I have created a map view with mapscript and I want an embedded legend with layer names.

 

And this only gives me an empty image....

$imageLegend = $objMap->drawLegend();

$imageLegend_url = $imageLegend->saveWebImage();

 

Do I have to set anything in the Layers or the map?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080702/a68ea030/attachment.html


More information about the mapserver-users mailing list