Starting with 3.24 of ArcGIS API for JavaScript we can opt in to render FeatureLayer with WebGL.

According to ESRI This allows to display more data in the map and update the visualization of features more rapidly. To enable WebGL rendering of FeatureLayer, we need to paste the following script in the application prior to loading the ArcGIS API for JavaScript:

    var dojoConfig = {
      has: {
        "esri-featurelayer-webgl": 1

but looking at this sample I am not really seeing any difference between having the webgl or not on performance speed. Can you please let me know what I am doing wrong?

1 Answer 1


The service used in this sample is on a 10.5.1 server. From the documentation

Support is limited to layers created from feature services hosted on ArcGIS Online. Non-hosted enterprise feature services will be supported at the ArcGIS Server 10.6.1 release. FeatureLayers created from FeatureCollections are not supported.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.