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]); });
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.