1

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:

 <script>
 var dojoConfig = {
 has: {
 "esri-featurelayer-webgl": 1
 }
 };
 </script>

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?

asked May 4, 2018 at 18:11

1 Answer 1

2

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.

answered May 4, 2018 at 19:13

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.