Map Legends

Get ClassMap Legend

Changed on

Generate values and color swatches mapping for a given classmap.

get/data/legend/classmap/{classmapName}

Request

  • Base URL
    {endpoint}
  • URL
    {endpoint}/data/legend/classmap/{classmapName}
  • Auth
    OAuth 2
    Implicit: https://login.microsoftonline.com/common/oauth2/authorize
    Scopes: https://geocatalog.spatio.azure.com/.default

Path parameters

classmapNamestring required

classmap name

Query parameters

api-versionstring required

The API version to use for this operation.

trim_startinteger

Number of items to trim from the start of the cmap

trim_endinteger

Number of items to trim from the end of the cmap

Response

The request has succeeded.

ClassMapLegendResponse required

ClassMap legend response model.

Changes

  • 2025-04-30-preview28e8cb365289Revision changes
    • breaking

      removed the success response with the status

    • info

      api operation id MapsClassmapLegends_Get removed and replaced with MapsClassMapLegends_Get

  • 2025-04-30-preview00cbc3d6d8e0Revision changes
    • info

      api operation id MapsClassMapLegends_Get removed and replaced with MapsClassmapLegends_Get

    • info

      added the success response with the status