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.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to