Opened 15 years ago
Last modified 15 years ago
#3190 new defect
Symbol Highlighting
Reported by: | pvoudouris | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 6.0 release |
Component: | MapServer C Library | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | dmorissette |
Description (last modified by )
When you define multiple Styles for a class in a layer and then you select/highlight the feature ( i did this using mapscript c#) the highlight color only seems to apply to the last style used and not the whole (combined) symbol. For example if my class is defined as :
CLASS STYLE COLOR 138 138 138 SYMBOL 'triangle' SIZE 15 END STYLE COLOR 255 0 0 SYMBOL "point" SIZE 5 END END
where triangle and point are defined as:
SYMBOL NAME "triangle" TYPE VECTOR POINTS 0 1 0.5 0 1 1 0 1 END FILLED TRUE STYLE 1 25 1 25 END END SYMBOL NAME "point" TYPE ELLIPSE POINTS 1 1 END FILLED TRUE END
and QUERYMAP as:
QUERYMAP STATUS ON COLOR 16 238 246 STYLE HILITE END
only the "Point" symbol will be drawn in the highlight color. I would expect/like for the whole symbol to be drawn in the highlight color especially since the last symbol is usually the smallest size and sometimes its not even easily visible to the user that it has been changed/highlighted.
Change History (1)
comment:1 by , 15 years ago
Cc: | added |
---|---|
Description: | modified (diff) |
Milestone: | → 6.0 release |
Steve, I saw in the code that changing only the first style's params is the intended behavior.
What is your opinion about changing it to affect all styles and not the just first one?