ESRI splits the map screen into sections, or "tiles" and submits requests to the feature server for the specific geometry of each tile. In this case our features are polygons. The KoopProvider MarkLogic service is returning all the features despite the geometry of the tiles. The issue appears to be after line 536 in KoopProvider.sjs. I resolved it by adding the following code. It appears to only occur for polygons.
ESRI splits the map screen into sections, or "tiles" and submits requests to the feature server for the specific geometry of each tile. In this case our features are polygons. The KoopProvider MarkLogic service is returning all the features despite the geometry of the tiles. The issue appears to be after line 536 in KoopProvider.sjs. I resolved it by adding the following code. It appears to only occur for polygons.
if(layerModel.geometryType == "Polygon") { geoQuery = regionQuery; } else { geoQuery = cts.orQuery([ pointQuery, regionQuery ]); //AGD }