Opened 13 years ago

Closed 13 years ago

#804 closed defect (invalid)

Legends are not displayed for some services

Reported by: armin11 Owned by: dev
Priority: major Milestone:
Component: wms Version: 2.7 rc1
Keywords: legend Cc:

Description

The legend of some services are not displayed. E.g. following Service has this problem: http://mapserver.lgb-rlp.de/cgi-bin/geologische_uebersichtskarte300?&REQUEST=GetCapabilities&VERSION=1.1.1&SERVICE=WMS The problem occurs either when loading the service into mapbender and asign a gui or when adding it as an external service with addwms. The modules which will be problematic may be javascripts/wms.js and/or javascripts/mod_legend.php Both has some debugging rows included - see: http://trac.osgeo.org/mapbender/changeset/7712/trunk The legend_url is not integrated into DOM ?! - Why

Change History (2)

comment:1 by kmq, 13 years ago

The WMS specifies a rootLayer and a childlayer of the same <Name>.

Mapbender checks wether a layer (specified by it's name) has an associated Legendgraphic, it finds the layer by name (the rootlayer), sees that there is no legendgraphic, and moves on.

comment:2 by kmq, 13 years ago

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.