FeatureLayer rendering delay issue

242
0
02-03-2020 08:30 AM
AlexanderParshin
New Contributor II

I was going to use FeatureLayer with client-side graphics ("source" property) but faced with a significant rendering delay during layer initialization. Here is an example: https://codepen.io/parshin/pen/gObVZvZ?editors=1000 

This example is based on Custom WebGL layer view code sample with two additions:

  1. FeatureLayer with labels is added in addition to the Custom WebGL Layer
  2. Layers are added to the map by clicking on "Add Layers" button at the top right corner

The Custom WebGL layer is rendered almost immediately after pressing the button. The FeatureLayer (white labels) appears on the map only after several seconds.

Why does that delay happen? Is there any way to eliminate/reduce it?

Tags (2)
0 Kudos
0 Replies