Select to view content in your preferred language

Hosted Feature service returns at all extents despite drawing info being defined from JS API.

141
0
03-31-2025 10:44 AM
Labels (2)
AustinAverill
Frequent Contributor

I have a third part service that has a JS map that allows my organization to generate a token and add in a layer using the rest link. The service consumes the REST url for the hosted feature layer (ex. https://services6.arcgis..../MyLayer/FeatureServer) and return all of the sub layers into a map service.

The problem is that despite setting up visible extents for each sublayer in the "Visualization" tab, the service is returning every result within the map frame when the third party queries the layer and is causing large performance issues. When I query the JSON for the service, there is no reference to the visible extents I set up with the Visualization tab. Does anyone know how to get this to return with the service when it is queried?

 

The third party app developers are insistent this is "a setting" that can just be switched. But after attempting to update the service definition, and combing through every single layers' settings and properties, I cannot figure this out.

0 Kudos
0 Replies