Opened 16 years ago

Closed 16 years ago

#2544 closed defect (fixed)

MapServer CGI lacking a method to return a legend icon...

Reported by: sdlime Owned by: jmckenna
Priority: normal Milestone: 5.2 release
Component: Documentation - MapServer Version: unspecified
Severity: normal Keywords:
Cc:

Description

MapServer CGI interface needs a mode to retrieve a legend icon for any particular layer and class combination. There are two necessary additions. 1) A new mode, LEGENDICON and 2) a means of specifying which layer and class (propose using icon=layername,class index). The class index would be optional and would default to 0.

Steve

Change History (4)

comment:1 by sdlime, 16 years ago

Committed an initial version of this (r7447). Couple of questions remain:

  • should scale be computed and applied to styles before rendering a legend (other legend generation does not)
  • how to handle certain types of groups whose presentations change with scale (I don't think this is possible and should be left up to the client requesting the icon)

Steve

comment:2 by sdlime, 16 years ago

Component: MapServer C LibraryMapServer Documentation
Owner: changed from sdlime to jmckenna

Changing to a documentation bug...

Steve

comment:3 by jmckenna, 16 years ago

Status: newassigned

comment:4 by jmckenna, 16 years ago

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.