[OpenLayers-Users] Problem wth ScaleBar

David R Robison drrobison at openroadsconsulting.com
Mon Jan 21 19:10:11 EST 2008


I was using the one in the tschaub sandbox. David

Christopher Schmidt wrote:
> On Mon, Jan 21, 2008 at 06:43:27PM -0500, David R Robison wrote:
>   
>>  I am trying to get the OpenLayers.Control.ScaleBar working. I've added 
>> it to my map according to the example html. However, when my map draws, 
>> I get the units (in my case 'miles') but it displays at the bottom of 
>> the map and I get no scale bar. Its as if the scale bar is below the map 
>> and hidden. Any thoughts on how to get this to work correctly? Thanks, David
>>     
>
> Are you adding ScaleBar (which isn't in trunk) or Scale()? OpenLayers
> does not currently have a ScaleBar control.   
>
> Regards,
>   

-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080121/22cb5eae/attachment.html


More information about the Users mailing list