Antw: [Mapbender-users] Mapbender 2.5 - Gui-Element:
"setBackground"
Ronald Woita
Ronald.Woita at rostock.de
Tue May 12 01:34:34 EDT 2009
hi,
ok- now I seem to remember...
Put this code into 'mod_dynamicOverview.php'
at the end of the function 'mod_dynamicOverviewSetVisibility()'
-->
function mod_dynamicOverviewSetVisibility(frameName){
var arrayTargets = mod_dynamicOverview_target.split(",");
if(mod_dynamicOverviewSwitch && frameName == arrayTargets[1]){
wms[mod_dynamicOverview_wmsIndex].gui_wms_visible = mod_dynamicOverviewSwitch;
}
// HINZUFÜGEN >
if(parent.document.setBackground.mod_setBackground_list.options[parent.document.setBackground.mod_setBackground_list.selectedIndex].value != mod_dynamicOverview_wmsIndex) {
wms[mod_dynamicOverview_wmsIndex].gui_wms_visible = 0;
}
else {
for(var i = 0; i < parent.document.setBackground.mod_setBackground_list.options.length; i++) {
if(i != mod_dynamicOverview_wmsIndex) {
wms[i].gui_wms_visible = 0;
}
}
}
// < HINZUFÜGEN
}
<--
Ronald
>>> david.mueller at kaiserslautern.de 11.05.2009 16:24 >>>
Hi,
i'm using Mapbender 2.5.
it seems to be a problem with the "dynamicOverview" modul.
i've set my wms-0 to hidden and as default wms in my gui.
a wms-1 is also set to hidden.
In the setbackground modul these two wms-0 & wms-1 are available.
The setbackground modul works fine, if i have the "dynamicOverview" modul
deactivated.
If i have the "dynamicOverview" activated, the "setBackground" works also,
but the default wms-0 is always activated. It should be deactivated, when i
select my wms-1 in "setBackground".
Instead wms-1 is drawn over wms-0.
wms-0 is configured in moduls "overview" and "dynamicOverview" as
wms-index.
It seems, that the "dynamicOverview" makes wms-0 always available.
Has anybody configured both moduls in one gui?
Mit freundlichem Gruß
i.A. David Müller
-------------------------------------------------------------------
Stadtverwaltung Kaiserslautern
Referat Stadtentwicklung
Stabsstelle Graphische Datenverarbeitung
Willy-Brandt-Platz 1
67653 Kaiserslautern
E-Mail: david.mueller at kaiserslautern.de
Internet: www.kaiserslautern.de
-------------------------------------------------------------------
mapbender_users-bounces at lists.osgeo.org schrieb am 08.05.2009 15:36:17:
> Hi,
>
> normally the setBackgroud does not make trouble.
>
> What mapbender Version do you use?
> Is your GUI available?
>
> I tried it with Mapbender 2.6 and it still works in gui. Have a look at
> your Mapbender in gui "gui". Does the Modul work in this gui? What does
> firebug say.
>
> best regards astrid
>
>
> david.mueller at kaiserslautern.de schrieb:
> > hi,
> >
> > yes it's marked as 'select default'.
> >
> > it's working, if i set one wms to 'hidden'.
> >
> > how do i have to configure the wms's, if i want to use more than one
wms in
> > de the "setBackground" modul?
> >
> > When i configure two ore more wms to 'hidden' the names are shown in
the
> > selectlist, but there's no map loading, when i select another wms than
the
> > default one.
> >
> > must there something be configured in the .map files, too?
> >
> > thanks for your help
> >
> >
> > mapbender_users-bounces at lists.osgeo.org schrieb am 08.05.2009 09:56:17:
> >
> >
> >> did you mark the wms as 'select default' in gui settings ?
> >>
> >> Ronald
> >>
> >>
> >>>>> david.mueller at kaiserslautern.de 08.05.2009 09:16 >>>
> >>>>>
> >> Hello List,
> >>
> >> i've got a problem with the GUI-Element "setBackground".
> >>
> >> I've made the following steps as mentioned in the mapbender wiki.
> >>
> >> - set the "setBackground" ON/OFF to 1 in my GUI
> >> - set my wms in the "wms gui settings" to "hidden"
> >>
> >> results in:
> >>
> >> - in the gui the selectbox is shown and filled with my "hidden"- WMS.
> >> - but there's no reaction, when i select the wms, the mapframe stays
> >>
> > white.
> >
> >> - if i set a second wms to "hidden", it also appears in the selectbox,
> >>
> > but
> >
> >> there's no reaction in the mapframe, when i switch wms.
> >>
> >> Has there to be any other parameter to be mentioned or edited?
> >> Is there somebody, who has successfully integrated this module?
> >>
> >> thanks!
> >>
> >>
> >>
> >> Mit freundlichem Gruß
> >>
> >> i.A. David Müller
> >> -------------------------------------------------------------------
> >> Stadtverwaltung Kaiserslautern
> >> Referat Stadtentwicklung
> >> Stabsstelle Graphische Datenverarbeitung
> >> Willy-Brandt-Platz 1
> >> 67653 Kaiserslautern
> >>
> >> E-Mail: david.mueller at kaiserslautern.de
> >> Internet: www.kaiserslautern.de
> >> -------------------------------------------------------------------
> >>
> >>
> >> Aktuelle Informationen und Veranstaltungshinweise finden Sie unter:
> >> http://www.kaiserslautern.de/aktuelles
> >>
> >> _______________________________________________
> >> Mapbender_users mailing list
> >> Mapbender_users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >>
> >>
> >>
> >>
> >>
> >> _______________________________________________
> >> Mapbender_users mailing list
> >> Mapbender_users at lists.osgeo.org
> >> http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >>
> >
> >
> > Aktuelle Informationen und Veranstaltungshinweise finden Sie unter:
> > http://www.kaiserslautern.de/aktuelles
> >
> > _______________________________________________
> > Mapbender_users mailing list
> > Mapbender_users at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/mapbender_users
> >
>
>
> --
>
> Mit freundlichen Grüßen
>
> Astrid Emde
>
> *******************************
> Kompaktseminar zum Thema:
> ETRS 89 - Das neue Bezugssystem
> 19. Mai in Bonn
> http://www.wheregroup.com/etrs89_das_neue_bezugssystem
> *******************************
>
> ----------------------------------
>
> Astrid Emde
> WhereGroup GmbH & Co.KG
> Siemensstraße 8
> 53121 Bonn
> Germany
>
> Fon: +49(0)228 90 90 38 - 19
> Fax: +49(0)228 90 90 38 - 11
>
> astrid.emde at wheregroup.com
> www.wheregroup.com
>
> Amtsgericht Bonn, HRA 6788
> -------------------------------
> Komplementärin:
> WhereGroup Verwaltungs GmbH
> vertreten durch:
> Arnulf Christl, Olaf Knopp, Peter Stamm
> ---------------------------------------
>
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
Aktuelle Informationen und Veranstaltungshinweise finden Sie unter:
http://www.kaiserslautern.de/aktuelles
_______________________________________________
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapbender_users
More information about the Mapbender_users
mailing list