[mapguide-users] Select Within

Nimrod Cnaan nimcnaan at hotmail.com
Fri Apr 1 18:23:31 EDT 2011



Hi Gordon,
 
I know you did not mean it but I will use this opportunity to raise the issue anyway.

About displaying "non-visible layers", in legend.
 
I think that this feature is missing in the "Basic Layout",
A dynamic option to determent if we wont to display ""non-visible layers" - in legend.


 
> Date: Wed, 9 Mar 2011 14:41:49 -0800
> From: gordon.luckett at arrowgeomatics.com
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Select Within
> 
> In Fusion, the SelectWithinPanel.templ selects all selectable layers AND
> non-visible layers. How can we exclude the non-visible layers - if you have
> lots of layers, this is a very confusing to the user...
> 
> 
> function FillLayerList()
> {
> var list = document.getElementById("layers");
> var listNames = document.getElementById("layerNames");
> list.options.length = 0;
> var map = GetParent().Fusion.getMapByName(mapName);
> var layers = map.aMaps[0].getSelectableLayers();
> if(layers.length > 0) {
> for(var i = 0; i < layers.length; i++) {
> var layer = layers[i];
> list.options[i] = new Option(layer.legendLabel != ""?
> layer.legendLabel: layer.layerName);
> if (i == 0) list.options[0].selected = true;
> listNames.options[i] = new Option(layer.layerName);
> }
> } else {
> list.options[0] = new Option("__#BUFFERNOLAYER#__");
> }
> document.getElementById("Done").disabled = layers.length == 0;
> }
> 
> 
> 
> --
> View this message in context: http://osgeo-org.1803224.n2.nabble.com/Select-Within-tp6155813p6155813.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20110402/4dd652f8/attachment.html


More information about the mapguide-users mailing list