Has anyone used the legend widget with raster map services? I have created a GP service that returns raster maps, but the legend is incomplete.
The ArcGIS layer properties are shown here, and below how the legend looks in ArcMap TOC (left), REST services directory (middle), and result web map (right).
Any ideas on how I can get the full color ramp to show up?
Update: This has been logged as two bugs, see http://support.esri.com for more details:
BUG-000092784 : Running a Geoprocessing service at Rest endpoint and publishing the result as a map service causes the Legend color ramp values to change.