Hi,
not so elegant, but it works.
Just insert a div in the map div, with position absolute like this:

<div id="map">
<div style="position:absolute;top:10px;right:10px;z-index:1500;">
<img src="images/n_arrow_little.png">
</div>
</div>


Francesco



Il 04/05/2012 15:23, Keith Wiley ha scritto:
I want to place a "legend" on the map, effectively an image which stays at a 
particular pixel-location in the view, without being tied to geographic coordinates (and 
which doesn't scale with zoom).  I didn't see an example that does this.

Any ideas?

Thanks.

________________________________________________________________________________
Keith Wiley     kwi...@keithwiley.com     keithwiley.com    music.keithwiley.com

"And what if we picked the wrong religion?  Every week, we're just making God
madder and madder!"
                                            --  Homer Simpson
________________________________________________________________________________

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users


--

_______________________________________________
Users mailing list
us...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to