Flamingo MapComponents

Listen to more than one WMS from legen possible?

Beoordeeld door 0 gebruikers
Niet opgelost Deze plaatsing heeft 0 Ge verifieerde antwoorden | 1 Beantwoord | 1 Volgeling

Top 25 plaatser
6 Plaatsingen
Jan Geplaatst in 12 Aug 2010 16:13

Dear all,

I have a question regarding the tick boxes in the legend: I would like to enable/disable a WMS in more than one map at a time (I am using 4 Flamingo map windows simultaneously). When I do this:

<code>

<group label="Europe" open="true" listento="map_a1">

<item label="Countries" listento="wms_a1.eurasia_countries" canhide="true"/>

</group>

</code>

everything is working well. When I try this:

<code>

<group label="Europe" open="true" listento="map_a1,map_a2">
<item label="Countries" listento="wms_a1.eurasia_countries, wms_a2.eurasia_countries" canhide="true"/>

</group>

</code>

it is not even showing the tick in the tick box. It seems that there is no way of listening to a WMS layer in more than one Flamingo <fmc:LayerOGWMS> if it has the same name. Is that true? Or is there another way of doing this? What I would like to have is jus _one_ tick box controling all 4 map windows and there corresponding layer (here: country borders),

Regards and thanks

Jan

Alle Antwoorden

Top 10 plaatser
9 Plaatsingen

Hi Jan,

ever considered Javascript for this?

read the status of the tickbox and switch visibility within the 4 maps

Cor

Pagina 1 van 1 (2) | RSS
Copyright © 2006-2009 IPO, GBO-provincies
Stats aangeboden door Mtrack