I'm a freshman to use ArcGIS API for js. I know it can do this by ScaleDependentRenderer in 3.X, it seems that the ScaleDependentRenderer function was not come out, according to this web page, how to make it?
Hi there,
At 4.x you can watch the View.stationary property to check when the view is done animating, being navigated or resizing. Once the view is stationary then check the view.scale and at the desired scale, change your layer's renderer.
Check out this super simple test app for how it can be done.
Since you mentioned you are new to 4.x, you may find the following guide docs useful.
2. Watching for property changes
Hope this helps,
-Undral