Opened 20 years ago
Closed 17 years ago
#583 closed defect (wontfix)
Highlight features behavior change suggestion — at Version 5
Reported by: | Owned by: | sdlime | |
---|---|---|---|
Priority: | high | Milestone: | 5.0 release |
Component: | MapServer C Library | Version: | 4.0 |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by )
In 4.0.1 the highlight color is applied only for last style in a class. It is good for points or lines but for polygons last style may be usually outline. I suggest to change this to FIRST style (usually polygon fill). Also my suggestion is to enable highlight "transparent" (-1 -1 -1) coloured fills to see only highlighted fills (see attached image). There may be many combinations e.g. highlight all classes etc. (I have it implemented too), but this way is the simplest and usefull. The changed source code is attached Thank you Stepan Kafka
Change History (7)
by , 20 years ago
Attachment: | msDrawQueryLayer.txt added |
---|
comment:1 by , 20 years ago
Actually I was thinking of ditching query map style altogether. Instead I would advocate adding to the class STYLE section. The idea would be that you could define special STYLES that would be applied only when drawing a query result set. If no query STYLES are defined then you would use the existing STYLES. This way you could have total control of how you present matching features- e.g. some yellow, some red and so on. What do you think?
comment:2 by , 20 years ago
It is very good idea. Only one small disadvantage is need of more code rows in map file. Maybe layers with no highlight style definition would inherit the map- level querymap settings. What do you think? Stepan Kafka
comment:3 by , 20 years ago
Status: | new → assigned |
---|
Let's put this one off until 4.3/4.4 (early June).
comment:4 by , 20 years ago
Milestone: | → 4.4 release |
---|---|
op_sys: | Windows 2000 → All |
rep_platform: | PC → All |
comment:5 by , 17 years ago
Description: | modified (diff) |
---|---|
Resolution: | → wontfix |
Status: | assigned → closed |
Marking as won't fix as we'll tackle QUERYMAPs in a future release and create a new ticket surrounding the associated RFC...
Steve
Note:
See TracTickets
for help on using tickets.
Changed msDrawQueryLayer code