But it does not show with any of my local services: var dynamicUrl = "http://<myserver>/ArcGIS/rest/services/OneLayer/MapServer"; var dynamicUrl = "http://<myserver>/ArcGIS/rest/services/MapDefault/MapServer";
Is there anything I need to check to see my local ArcGIS Server map services.
If the layers are version 10 or lower the legend is created using the ArcGIS.com legend service. In order to use the ArcGIS.com legend service your map service needs to be publicly accessible and your application must be able to access ArcGIS.com.