Select to view content in your preferred language

queryLegends with spatialFilter issues

191
0
12-22-2023 03:19 AM
Thomas_Fuhrmann
New Contributor III

Hi all,

I did some testing of the queryLegends operation of a MapService with a spatialFilter. I realized the following issue:

- when there is a scale restriction on the layer, such that the layer draws only below a certain minScale value, the queryLegends operation won't return any legend items

- when I set the minScale value to 0 (ie disabling the restriction) the queryLegends operation works as expected

Can this be considered as a bug, or is this behaviour intended?

Best wishes,

Thomas

0 Kudos
0 Replies