Disable vector tiles in ArcGIS API for JS Feature Layer

404
1
10-28-2019 11:30 AM
DanielUrda
New Contributor

Hello,

I am trying to consume a Feature Layer published by ArcGIS Server 10.7 in an JS application using the ArcGIS API and server-side filtering. Unfortunately, this produces vector tiles by default and the performance on our test environment is horrendous. Using a plain Graphics Layer provides superior performance (i.e. esri JSON format), however I have to manually deal with querying the server and then assigning a style and injecting the features in the layer.

Is there any way (either in ArcGIS Server/ ArcGIS Online or preferably in the JS API) to disable the use of pbf format?

1 Reply
RoyJackson_AlertMedia
New Contributor III

You can disable pbf using an after request interceptor, to remove pbf from the supported formats. 

This will still get the data in json tiles.  I am looking for a way to disable tile-based requests for a featurelayer. 

0 Kudos