private function descriptionOrDownload_clickHandler():void { if (_toc.UseESRIDesc){ var url:String; if (_layer is OpenStreetMapLayer){ url = "http://www.openstreetmap.org"; }else if (_layer.hasOwnProperty("url")){ url = Object(_layer).url; if (_layer is WMSLayer) url += "?SERVICE=WMS&REQUEST=GetCapabilities"; } if (url){ var request:URLRequest = new URLRequest(url); navigateToURL(request, _layer.id); }
M Lowry,
That has been fixed now. Get version 2.5.1.1
Giuseppe,
There is a new version available that has the exclude layer capability.
* MAJOR CHANGE when a layer of a map service or the whole mapservice is excluded using the excludelayers it
is excluded from the TOC and the map. This has changed from where it use to be visible in the map even
though it was excluded from the TOC. *Clarification* If you want to exclude a whole map service from the
toc and the map then you just remove it from the viewers main config. Currently if you exclude a map service
and do not specify any sublayers then the mapservice will remain in the map.