[OpenLayers-Users] Problem wth ScaleBar

Christopher Schmidt crschmidt at metacarta.com
Mon Jan 21 19:09:00 EST 2008


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,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list