[OpenLayers-Users] Hwo to print scaleline in html page

Robert Buckley robertdbuckley at yahoo.com
Tue Mar 20 05:39:41 EDT 2012


Hi,
Im trying to print the openlayers scaleline in a simple html print page using the following javascript

document.getElementById('ScaleLine').innerHTML


ScaleLine is the div where the scale line is positioned. The problem is that only the scaleline text is visible and not the scaleline.

Does anyone know why this is and how I can produce the scaleline with the lines?

thanks,

Rob 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120320/f8a96623/attachment.html


More information about the Users mailing list