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:
<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>
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
Hi Jan,
ever considered Javascript for this?
read the status of the tickbox and switch visibility within the 4 maps
Cor