map.on("layers-add-result", function (evt) { toc = new TOC({ map: map, layerInfos: [{ layer: layerDynamic, title: "Legend", slider: true }] }, 'legendDiv'); toc.startup(); toc.on("load", function () { toc.findTOCNode(layerDynamic, 1).hide(); }); });
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.