Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

ESRI's 10.0 documentation for legend indicates that this url should return a legend:

http://map.floridadisaster.org/GIS/rest/services/Facilities/Critical_Facilities/MapServer/legend

But it doesn't work. Is there something special I need to do when publishing a mapservice to enable legends? If not, does anyone know of a url that returns a legend?

share|improve this question

1 Answer 1

up vote 4 down vote accepted

The REST legend service was added in Service Pack 1. Has this server had Service Pack 1 installed? It appears that it has not.

'currentVersion' was added to serveral resources to indicate the version and patch level. See the latest ArcGIS 10 API documentation for more details.

share|improve this answer
    
Thanks Ryan, this makes me wonder if there's something in the API that tells you what SP is installed. –  Kirk Kuykendall Nov 15 '10 at 15:32
2  
10.0 SP1 returns a currentVersion value of 10.01, not the 10.0 that "vanilla" 10.0 returns. Just make sure to parse that properly, so you don't accidentally get 10.1! –  mwalker Nov 15 '10 at 19:41

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.