var legendImageRequest = esriRequest({ url : "https://www.server.com/arcgis2/rest/services/test/test/MapServer/legend", content : {f : "json"}, handleAs : "json", }); legendImageRequest.then(function(response) { console.log(response.layers[0].legend[0]); });
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.