1

I am using the ArcGIS Server REST API to retrieve legend information for one of our map services. I am requesting that information as a JSON object, so my HTTP request URL looks like this:

http://<host>/ArcGIS/rest/services/<mapServiceName>/MapServer/legend?f=json

The legend symbol images I get back from this are all 20×20 pixels in size (which seems to be the default). Guessing from the relevant bit of Esri's documentation, there is no way to request a different symbol image size (e.g. larger images for high-resolution printing). That would, however, be possible using the SOAP API (I believe by specifying MapServerLegendPatch objects).

Is there any way to request a different legend symbol image size using the REST API?

Your Answer

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

Browse other questions tagged or ask your own question.