Dejan Gambin
2014-02-20 08:20:04 UTC
Hi,
I am using GetLegendGraphic request for generating legends in my OL application. Everything was fine in previous MapServer version 6.0.3. The request like this:
http://my.site.com/cgi-bin/mywms6?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&FORMAT=image/png&LAYER=my_layer
returned an image like in attached image1.png. The same request in 6.4.1 returned an image like in attached image2.png. The legend part of mapfile is:
LEGEND
OUTLINECOLOR 194 194 194
KEYSIZE 25 18
KEYSPACING 8 5
LABEL
COLOR 255 0 0
FONT Arial
SIZE 8
TYPE truetype
OFFSET 0 -5
END
END
Is it a bug or should I hopefully just configure things differently?
Thanks very much
regards, dejan
I am using GetLegendGraphic request for generating legends in my OL application. Everything was fine in previous MapServer version 6.0.3. The request like this:
http://my.site.com/cgi-bin/mywms6?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&FORMAT=image/png&LAYER=my_layer
returned an image like in attached image1.png. The same request in 6.4.1 returned an image like in attached image2.png. The legend part of mapfile is:
LEGEND
OUTLINECOLOR 194 194 194
KEYSIZE 25 18
KEYSPACING 8 5
LABEL
COLOR 255 0 0
FONT Arial
SIZE 8
TYPE truetype
OFFSET 0 -5
END
END
Is it a bug or should I hopefully just configure things differently?
Thanks very much
regards, dejan