Returns the legends of a map by specifying the map and the size and mime type of the legends. The legends returned are single rows, including an image and text description, that make up a complete legend. For each layer in the map, zero, one, or more legend entries will be returned.

ACL Authorization Flow

To return the legends of a map, the user (or the role they belong to) needs EXECUTE permission on the Named table.


The following table lists the request and response messages for the getMapLegends operation.

Click on a message name to get more information about the message.

Message Description
GetMapLegendsRequest The request message for the getMapLegends operation.
GetMapLegendsResponse The response message for the getMapLegends operation.