[OpenLayers-Users] Re: Write free text on Openlayer Map
dr
rykovd at gmail.com
Sat Nov 26 10:07:18 EST 2011
Add custom div to viewPortDiv div:
map = new OpenLayers.Map("mapdiv", {});
logo = $("text");
logo.style.position = "absolute";
logo.style.zIndex = "1100";
logo.style.right = "15px";
logo.style.top = "5px";
map.viewPortDiv.appendChild(logo);
Online example: http://jsfiddle.net/_DR_/PMgGV/
-----
Denis Rykov
NextGIS
http://www.nextgis.org/
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Write-free-text-on-Openlayer-Map-tp7030902p7033978.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
More information about the Users
mailing list