Map service combined legend like WMS getLegendGraphic can do?

151
1
Jump to solution
04-08-2022 06:05 AM
DavidPersson
New Contributor III

Hi

I was wondering whether there's a way to receive a combined legend image for a Map Service layer that is a theme layer, i.e that has a thematic styling based on an attribute?

For instance this thematic layer https://ext-geodata-nationella.lansstyrelsen.se/arcgis/rest/services/LST/lst_wms_miljodata/MapServer...

Would it be possible to via one http request get something like the WMS version provides?

https://ext-geodata-nationella.lansstyrelsen.se/arcgis/services/LST/lst_wms_miljodata/MapServer/WMSS...

(I wasn't sure quite where to put this, mod may whisk off elseplace if necessary and thanks in advance)

 

Friendly regards

David

0 Kudos
1 Solution

Accepted Solutions
TanuHoque
Esri Regular Contributor

@DavidPersson 

That functionality is not supported by map services.

Map service returns individual patch and text for each legend, so that a client app can have complete flexibility.

View solution in original post

1 Reply
TanuHoque
Esri Regular Contributor

@DavidPersson 

That functionality is not supported by map services.

Map service returns individual patch and text for each legend, so that a client app can have complete flexibility.