Ticket #1484 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

msDrawLegend does not consider layerorder

Reported by: szekerest Owned by: sdlime
Priority: high Milestone:
Component: MapServer C Library Version: 4.6
Severity: normal Keywords:
Cc:

Description

After changing the layer drawing order programatically using mapscript,
the map is drawn properly but the legend image reflects the old layer
drawing order. I think the layers might be accessed like msDrawmap does (see 
mapdraw.c line 385).


Tamas Szekeres

Change History

Changed 8 years ago by sdlime

  • status changed from new to assigned
Tamas: I commited a change tonight to try and fix this. Please give it a shot
and let me know how it goes. Once tested we can mark as fixed.

Steve

Changed 8 years ago by szekerest

  • status changed from assigned to closed
  • resolution set to fixed
Steve,

I have tested this change an worked for me.

Tamas Szekeres
Note: See TracTickets for help on using tickets.