origo
origo copied to clipboard
AGS_FEATURE requests introduce multiple features when zooming
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
- Set a ArcGIS Mapserver service as source.
- Set a layer with some transparent style.
- Zoom out more than initial extent.
- See how features get more and more, click to verify.
Screenshots
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