[mapserver-users] Mapserver + Openlayers legend problem

ptang83 at yahoo.com ptang83 at yahoo.com
Mon Apr 14 12:20:15 EDT 2008


I have the same issue in openlayer + mapserver cgi. However, if I use mapscript without openlayer, then it works fine. 


--- On Mon, 4/14/08, Emilio Ponce <yosoycore at gmail.com> wrote:

> From: Emilio Ponce <yosoycore at gmail.com>
> Subject: [mapserver-users] Mapserver + Openlayers legend problem
> To: mapserver-users at lists.osgeo.org
> Date: Monday, April 14, 2008, 10:17 AM
> 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_______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users


      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ


More information about the mapserver-users mailing list