4

Are there any tricks to speed up the rendering of a feature layer in the ArcGIS JavaScript API? Currently one of the layers I am using is:

This takes about 10 seconds to draw but I have used this layer which draws much faster: Is it just a function of the speed of the ESRI server I am using compared to the "sampleserver6" which the other layer is using?

6
  • The only time I experience noticeable difference in speed is with large polygons. 30K + short lines or points are no problem. Apr 12, 2016 at 18:44
  • Do you mean over 30,000 polygons? I only have 50 and it is very slow. Would smoothing the polygons before publishing the feature layer have any effect?
    – SteveC
    Apr 12, 2016 at 23:51
  • No just the opposite. I have point layers with many features that are faster than a layer with maybe 50 polygons but they are large with (sometimes) complex shapes. I don't really know if it has something to do with needing to show only part of the polygon (when zoomed in) or what, but they are slower to display. I'm not sure about smoothing. Hopefully someone with some inside knowledge, can shed some light on this. Apr 13, 2016 at 1:31
  • Have you tried playing with the maximum offset settings? That sometimes helps with rendering.
    – nickpeihl
    Apr 13, 2016 at 4:11
  • Where do I make those changes?
    – SteveC
    Apr 13, 2016 at 12:21

1 Answer 1

2

As of 2018, there is a new sample that shows and explains some FeatureLayer Performance Improvements for version 4.6.

Your Answer

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

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