[mapguide-trac] #1428: GETMAPLEGENDIMAGE should omit empty layer groups from being rendered (was: GETMAPLEGENDIMAGE should have option to omit empty layer groups from being rendered)

MapGuide Open Source trac_mapguide at osgeo.org
Mon Sep 6 01:04:19 EDT 2010


#1428: GETMAPLEGENDIMAGE should omit empty layer groups from being rendered
---------------------------------+------------------------------------------
   Reporter:  jng                |       Owner:                   
       Type:  enhancement        |      Status:  new              
   Priority:  medium             |   Milestone:                   
  Component:  Rendering Service  |     Version:                   
   Severity:  trivial            |    Keywords:  legend, rendering
External_id:                     |  
---------------------------------+------------------------------------------
Description changed by jng:

Old description:

> The current GETMAPLEGENDIMAGE operation has a limitation whereby all
> layer groups in the current map are included in the rendered legend
> image.
>
> If the map in question has lots of layer groups but the layers contained
> within are not visible in the current map view/scale, then this results
> in a rendered image containing lots of empty layer groups, cluttering up
> the image.
>
> The GETMAPLEGENDIMAGE operation should be enhanced to specify whether
> empty layer groups should be rendered to the resulting legend image.

New description:

 The current GETMAPLEGENDIMAGE operation has a limitation whereby all layer
 groups in the current map are included in the rendered legend image.

 If the map in question has lots of layer groups but the layers contained
 within are not visible in the current map view/scale, then this results in
 a rendered image containing lots of empty layer groups, cluttering up the
 image.

 The GETMAPLEGENDIMAGE operation should be changed to omit empty layer
 groups from being rendered to the resulting legend image. This was the
 behaviour in MapGuide 6.5

--

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1428#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list