How to constraint the map loading to the current extent of the map

1332
3
07-12-2016 11:19 AM
HussainMoiz
New Contributor

In ArcGIS JS API 3.xx, the feature layers only loads to the current map extent(only a portion of map loads), however, in ArcGIS JS API 4 the full map is loaded upfront which makes the page loading very slow if multiple layers are loaded together.

Note: The problem is only specific to loading the feature layers.

Is there a way we can constraint the map loading to the current extent of the map similar to API 3.xx?

Tags (1)
0 Kudos
3 Replies
MuktaPuri
New Contributor II

I have the same problem too with Feature Layers. Because of this, feature layers with lots of features take really long to load. Also, the map seems to be very slow if it has a feature layer with lots of features.

0 Kudos
HussainMoiz
New Contributor

I am facing the same problem.

0 Kudos
NealFerguson
New Contributor II

Mukta/Hussain,

Unfortunately, the 4.0 API does not support scale dependency - See https://community.esri.com/thread/178956#comments

Neal

0 Kudos