Select to view content in your preferred language

Legend for Image Services

2894
0
04-08-2015 09:35 AM
KevinPiraino1
Deactivated User

Hello,

I am having issues with adding a legend for two image services in a web map application. When I use this example (Legend - toggle services | ArcGIS API for JavaScript ) and add my two image services as the layers displayed, the example still works and shows me the legend with the corresponding information about my two image services. When I try to use the same method of legend creation and pushing each layer to the legend in my application, no legend is displayed. Instead a message of "No Legend" is displayed in the div. I will attach my code below. If anyone could help me or point me in the right direction that would be great.

webApp.jpg

0 Kudos
0 Replies