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(); }); });
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.