[mapserver-users] Mapserver + Openlayers legend problem

Emilio Ponce yosoycore at gmail.com
Mon Apr 14 11:17:13 EDT 2008


Hi everyone,

I'm beggining with mapserver + openlayers.
The problem is that I cannot show a legend of my layers, because if I use
the 'LEGEND keyword' into the mapfile, the legend is shown on every tile of
the openlayers's map.
I've found the same problem for the SCALEBAR.

The definition of the LEGEND in the mapfile is simple:

    LEGEND
        STATUS EMBED
        POSITION LR
        TRANSPARENT TRUE
    END

And you can see the problem here:
http://www.ietcat.org/htmls04/cat/PDF_PTMB/legend_problem.gif

Does anyone know how to solve this repetition problem?

Thanks a lot!




-- 
Emilio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20080414/1cea127a/attachment.html


More information about the mapserver-users mailing list