[Mapserver-users] Mapserver4(win binary):Problem in displaying scale bars

Giri Palanisamy palanisamyg at ornl.gov
Thu Aug 28 14:37:10 EDT 2003


Hi,

I am migrating my Mapserver applications from 3.5 to 4.0,and I am using 
windows binary download. The demo works good except that the scale bar is 
not visible. But when I switched back to 3.5 the scale bar is visible. Am I 
missing something? do I need to do any changes in the scale bar definition 
in the map file? I checked the scalebar.exe and it is from the latest 
mapserver 4.0 (modified date 8/6/2003).

here is my scale bar definition: (which works good in mapserver 3.5)
SCALEBAR
   IMAGECOLOR 255 255 255
   LABEL
     COLOR 255 255 255
     SIZE tiny
   END
   STYLE 1
   SIZE 80 2
   COLOR 255 255 255
   UNITS MILES
   INTERVALS 1
   TRANSPARENT TRUE
   STATUS ON
END

and in my demo.html:
<img title="scalebar (mi)" alt="scalebar (mi)" src="[scalebar]">


Giri






More information about the mapserver-users mailing list