origo icon indicating copy to clipboard operation
origo copied to clipboard

AGS_FEATURE requests introduce multiple features when zooming

Open Owemyr opened this issue 7 months ago • 0 comments

Describe the bug Test with AGS_FEATURE result in multiple features when zooming.

It only occur when zooming out to more/equal than the default extent (inital zoomlevel) or panning outside extent.

To Reproduce

  1. Set a ArcGIS Mapserver service as source.
  2. Set a layer with some transparent style.
  3. Zoom out more than initial extent.
  4. See how features get more and more, click to verify.

Screenshots multiple_features

Expected behavior Should refresh like WFS bbox, so no old request is hanging around.

Desktop:

  • OS: Windows 11
  • Browser Edge and Chrome

Additional context We have a older version of ArcGIS server so that or some settings on the server side could also be the villain.

Alternatives considered: Not really a alternative but a workaround is to disable strategy: loadingstrategy.bbox and set a static big extent in agsfeature.js then it loads all features in one request, more like strategy: all for WFS

Owemyr avatar Jul 03 '24 12:07 Owemyr