Opened 18 years ago

Closed 18 years ago

Last modified 18 years ago

#1858 closed defect (fixed)

QueryMap hiliting and layer object styling bug?

Reported by: siukola.antti@… Owned by: sdlime
Priority: high Milestone:
Component: MapScript Version: unspecified
Severity: normal Keywords:
Cc:

Description

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

Change History (3)

comment:1 by sdlime, 18 years ago

Status: newassigned
Summary: QueryMap hiliting and layer object styling bug? QueryMap hiliting and layer object styling bug?
I did fix this last night but haven't committed to CVS until I can test. The 
new strategy for polygon layers would be to alter the bottom style, not the top 
since fills come before outlines. I think that should work better...

Steve

comment:2 by sdlime, 18 years ago

Resolution: fixed
Status: assignedclosed
I have fixed this one in CVS HEAD so this will be part of the 4.10 beta release
towards the end of the week. I don't know that it's worth tweaking 4.8...

Steve

comment:3 by siukola.antti@…, 18 years ago

Great! Thanks!

No, I don't think it's worth tweaking 4.8. I'll wait for the 4.10...
Note: See TracTickets for help on using tickets.