AnsweredAssumed Answered

FeatureLayer 'update-start' fires once when in visible scale range

Question asked by sarahclark on Aug 24, 2015
Latest reply on Aug 24, 2015 by sarahclark

Hi -

 

I have a FeatureLayer in a map that starts zoomed outside of its visible scale range. The first time the layer comes into its visible range, the 'update-start' event is triggered. Every time thereafter, an 'update' event is triggered (deprecated, I know). Never again does the layer coming in or out of scale trigger 'update-start', therefore I assumed it was firing that first time because the layer was being added to the map.

 

However, the map 'layer-add' event for this layer does not fire when the layer comes into its visible scale the first time. That event fires when the map initially loads on the screen, and the layer is out of visible scale.

 

Any input on what is triggering the event?

Outcomes