ArcGIS Javascript Legend widget does not show full color ramp

المشرف العام

Administrator
طاقم الإدارة
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).

It looks like by default, there is only a high and low label. I added the Medium label manually before publishing, but the color ramp seems to be recalculated when you run the GP tool through the Javascript API.

Any ideas on how I can get the full color ramp to show up?



أكثر...
 
أعلى