[OpenLayers-Users] legend "floating" over map

Gery . gamejihou at hotmail.com
Tue Nov 27 02:12:53 PST 2012


Hi all,

I've been scratching my head over this, no clear idea so far. I have a WMS layer served with mapserver and want to display with it a legend image (PNG) "floating" over the WMS. It means, when I move the WMS in OpenLayers, the legend is always in the same place, ie, top-left corner of my screen. I generated this legend, a sample is attached. I remember an example about this in the Geoext examples web site but it's not longer there (if it existed). Any idea about doing this is appreciated, thanks.

__________________________________________________________________________________________
Piensa en el medio ambiente - mantenlo en la pantalla. NO lo imprimas si NO es necesario.
Think green - keep it on the screen. Do NOT print if it is NOT necessary.
Denken Sie an die Umwelt - bewahren Sie es auf dem Bildschirm. Drucken Sie NICHT, wenn es NICHT notwendig ist.
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121127/2fdfe68a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample.jpg
Type: image/jpeg
Size: 8144 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20121127/2fdfe68a/attachment.jpg>


More information about the Users mailing list