[OpenLayers-Users] Display Map from MapServer with OpenLayers

Barend K ö bben kobben at itc.nl
Fri May 11 06:20:36 EDT 2007


> Your solutions sounds interesting. But I think this is for legends (as
> explanations of different objects) only. Or else a Javascript would have to
> reload that scalebar-image with every OL-Zoom-Change and tell it, how deep OL
> is zoomed in/out. Well I didn't get this to work anyways but don't want to
> invest further into it as it is only a test project to see what you can do
> with OL. 

It's for the legend only, because the WMS spec has no interface for
scalebars. 

It should be trivial however to script the scalebar in OL, maybe even
somebody has already done that (if not, maybe it's a nice student project
;-).

> - just doesn't show the bar. Do I have to change anything ion the mapfile
> (currently: "STATUS EMBED")?
Not that I am aware of...
 
Barend




More information about the Users mailing list