Opened 17 years ago

Closed 13 years ago

#117 closed enhancement (wontfix)

Adding WMS (module AddWMS) does not automatically make added layer(s) visible

Reported by: lieuwe Owned by: mapbender_dev@…
Priority: major Milestone: 2.7 release
Component: treeGDE Version: 2.6
Keywords: WMS treeGDE Cc:

Description

It would so much be user-friendlier when adding a WMS on runtime that the layer(s) automatically be visible. Now you must explicitly (via treeGDE) set the visibilty status on to make the layer(s) visible.

Are there any Mapbender javascript functions available to set layers visible when i dynamically add a WMS?

Attachments (1)

mod_treefolder2.php (25.7 KB ) - added by lieuwe 17 years ago.
modification of existing mod_treefolder2.php of MapBender 2.4.3

Download all attachments as: .zip

Change History (5)

by lieuwe, 17 years ago

Attachment: mod_treefolder2.php added

modification of existing mod_treefolder2.php of MapBender 2.4.3

comment:1 by lieuwe, 17 years ago

Component: administrationtreeGDE

I have made some changes to "mod_treefolder2.php" (see attachment) to force the rendering WMS layers that are added at runtime. My changes are marked with Edgar in the code. Unfortunately my changes does not work, it leads to runtime errors.

I urgently need some help of the developers to solve this problem. I don't have enough knowledge of the internal workings of MapBender 2.4.3. I find it very difficult to debug MapBender(with FireBug) in order to grasp what's happening under the hood of MapBender.

We are developing a webmapping application where we use MapBender as mapviewer. The users demand that the layers they added at runtime be drawn automatically.

Any help is appreciated. MX.Systems (http://www.mx-groep.nl/) is willing to make donation to the MapBender development team if you can solve this problem for us.

Edgar Lieuw A On (MX.Systems) edgar.lieuwaon@…

comment:2 by christoph, 16 years ago

Resolution: wontfix
Status: newclosed

comment:3 by mschulz, 15 years ago

Milestone: 2.7 release
Resolution: wontfix
Status: closedreopened
Version: 2.4.32.6

I'm reopening this old ticket instead and making it a enhancement bug. I'd also need this functionality. When possible for 2.6 or 2.7. I also changed the version, since backporting to 2.4.3 is not going to happen.

comment:4 by christoph, 13 years ago

Resolution: wontfix
Status: reopenedclosed

not available in addWMS, use addWMSFromFilteredListAjax instead.

Note: See TracTickets for help on using tickets.