[Mapguide-trac] [mapguide-trac] #2381: AJAX viewer legend incorrectly displays layers with both composite and non-composite styles
MapGuide Open Source
trac_mapguide at osgeo.org
Sun Nov 17 18:18:40 PST 2013
#2381: AJAX viewer legend incorrectly displays layers with both composite and non-
composite styles
---------------------------+------------------------------------------------
Reporter: jng | Owner: jng
Type: defect | Status: new
Priority: low | Milestone:
Component: AJAX Viewer | Version:
Severity: trivial | Keywords:
External_id: |
---------------------------+------------------------------------------------
Description changed by jng:
Old description:
> If you have a layer with both composite and non-composite styles. The
> AJAX viewer legend will produce swatches for both.
>
> The correct behaviour is that in such cases, only the swatch for the
> composite style should be produced and the non-composite one ignored.
>
> The rendering/stylization already disregards non-composite styles if
> composite styles exist. The legend should behave in the same way.
New description:
If you have a layer with both composite and non-composite styles. The AJAX
viewer legend will produce swatches for both.
The correct behaviour is that in such cases, only the swatch for the
composite style should be produced and the non-composite one ignored.
The rendering/stylization already disregards non-composite styles if
composite styles exist. The legend should behave in the same way.
This isn't major in the grand scheme of things. Such layers are
technically invalid and client-side authoring tools should prevent such
layers from being created.
--
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2381#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list