var lArr:Array = yourServceID.layerInfos; [LEFT]foreach (var layerInfo:LayerInfo in lArr){ var idIndex:int = yourServceID.visibleLayers.getItemIndex(layerInfo.id); if(layerInfo.name == txtBox.text) yourServceID.visibleLayers.removeItemAt(idIndex); } [/LEFT]
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.