<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
<BR>Hi Gordon,<BR>
<BR>
I know you did not mean it but I will use this opportunity to raise the issue anyway.<BR>
<BR>About displaying "non-visible layers", in legend.<BR>
<BR>
I think that this feature is missing in the "Basic Layout",<BR>
A dynamic option to determent if we wont to display ""non-visible layers" - in legend.<BR><BR><BR> <BR>
> Date: Wed, 9 Mar 2011 14:41:49 -0800<BR>> From: gordon.luckett@arrowgeomatics.com<BR>> To: mapguide-users@lists.osgeo.org<BR>> Subject: [mapguide-users] Select Within<BR>> <BR>> In Fusion, the SelectWithinPanel.templ selects all selectable layers AND<BR>> non-visible layers. How can we exclude the non-visible layers - if you have<BR>> lots of layers, this is a very confusing to the user...<BR>> <BR>> <BR>> function FillLayerList()<BR>> {<BR>> var list = document.getElementById("layers");<BR>> var listNames = document.getElementById("layerNames");<BR>> list.options.length = 0;<BR>> var map = GetParent().Fusion.getMapByName(mapName);<BR>> var layers = map.aMaps[0].getSelectableLayers();<BR>> if(layers.length > 0) {<BR>> for(var i = 0; i < layers.length; i++) {<BR>> var layer = layers[i];<BR>> list.options[i] = new Option(layer.legendLabel != ""?<BR>> layer.legendLabel: layer.layerName);<BR>> if (i == 0) list.options[0].selected = true;<BR>> listNames.options[i] = new Option(layer.layerName);<BR>> }<BR>> } else {<BR>> list.options[0] = new Option("__#BUFFERNOLAYER#__");<BR>> }<BR>> document.getElementById("Done").disabled = layers.length == 0;<BR>> }<BR>> <BR>> <BR>> <BR>> --<BR>> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Select-Within-tp6155813p6155813.html<BR>> Sent from the MapGuide Users mailing list archive at Nabble.com.<BR>> _______________________________________________<BR>> mapguide-users mailing list<BR>> mapguide-users@lists.osgeo.org<BR>> http://lists.osgeo.org/mailman/listinfo/mapguide-users<BR>                                            </body>
</html>