QueryMap hiliting and layer object styling bug?

Steve Lime Steve.Lime at DNR.STATE.MN.US
Thu Aug 10 12:25:05 PDT 2006


Antti: It's behaving as coded and intended, although that might not make
sense in all cases and the thick outline
case is one of them. As it sits the color is only modified for the top
style in each class. The theory being that style
is the most prominant (e.g. the center of a multiline symbol/hollow
road or a compound marker).

I would consider this a bug, so please file a report if you would...

Steve

>>> antti siukola <siukola.antti at GMAIL.COM> 8/10/2006 7:02:15 AM >>>
Hi!

I have configured some of the layers to use the defined color in the
first style element for fill and a another style for outline color and
have also set the qeurymap style to hilite and defined a color there
too. But when an object is selected only the outline color uses the
hilite color and the fill color stays the same only removing the
transparency of the selected object.

Here's the map-file configuration:

...
QUERYMAP
  STYLE HILITE
  COLOR 255 240 0
END
...
STYLE
 COLOR 255 133 2
END #style
STYLE # thick outline (could use a circle symbol with size too)
 OUTLINECOLOR 0 0 0
 WIDTH 2
END
...

Is this a bug?

Cheers!

Antti S



More information about the MapServer-users mailing list