[mapserver-users] Re: Bug - ScaleBar and Legend when both embedded

Roger Bedell sylvanascent at gmail.com
Sat Jul 9 13:29:34 EDT 2011


>
> We are using Mapscript 5.6.6 in a .NET app. If I embed both a Scalebar and
> a Legend at the same time, they render fine the first time. If I render the
> map again, the Legend shows up normally, but the scalebar is replaced by the
> legend. Here is my map file excerpt:
>
>
>  LEGEND
> STATUS EMBED
>  KEYSIZE 18 12
> TRANSPARENT OFF
> LABEL
>  TYPE BITMAP
> SIZE MEDIUM
> COLOR 0 0 89
>  END
> END
>
> SCALEBAR
>  INTERVALS 5
> UNITS MILES
> OUTLINECOLOR 0 0 0
>  STYLE 0
> STATUS EMBED
>   LABEL
>  SIZE SMALL
> COLOR 0 0 0
>   END
>  END
>
>
>
>
> Thanks,
> Roger
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110709/2ff5b315/attachment.html


More information about the mapserver-users mailing list