6

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?

4

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.

  • 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

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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