Opened 13 years ago

Closed 13 years ago

#801 closed defect (fixed)

setbackground - background wms is not displayed

Reported by: astrid_emde Owned by: kmp
Priority: blocker Milestone: 2.7.1 release
Component: user interface Version: 2.7
Keywords: Cc: arsgeografica

Description

the background wms is not displayed - not in the overview and not in mapframe1

It is requestest though, if you have a look at the metadata link.

Check this in gui and gui2

Change History (2)

comment:1 by christoph, 13 years ago

the problem is:

  • the mapframe1 requires the module initWmcObj.php, which initiates the map object from the database settings. This is done afterInit.
  • the setBackground module does its changes on init(). These changes seem to be overwritten by the database settings in initWmcObj.
  • I'm not sure how to change this. Maybe defer setBackground to afterInit?
  • When shall the map be requested? It should only be requested once in order to keep a sane history.

comment:2 by verenadiewald, 13 years ago

Resolution: fixed
Status: newclosed

fixed with workaround

  • mod_setBackground_init is now done on eventAfterLoadWMS
  • overview visibility is set separately

http://trac.osgeo.org/mapbender/changeset/7732

Note: See TracTickets for help on using tickets.