Different number of visible features on the Scene View

141
1
12-12-2019 08:32 AM
TomaszBarczyk
New Contributor

Hi,

Using Microsoft Buildings Footprints Feature layer: https://www.arcgis.com/home/item.html?id=bb69f10baf334d4c935a0fb23d758f38 

I've implemented 3D view of these buildings with default height 100meters for each building:

https://codepen.io/tomaszbarczyk/pen/RwwdqKV?editors=1000 

Depending on the tilt angle or zoom level I observe that different number of features is visible. Sometimes some features from the "first plan" disappears while features in the distance appears. Because of that user cannot be sure that all existing buildings are visible on the map.

Here is the illustration of that issue:

   

In both cases view was "ready". I have waited long time to allow features to be rendered and check it with the following code:

view.watch('updating', function(evt){
   if(evt === true){
      console.log('loading');
   }else{
      console.log('ok');
   }
});

I guess that there is a limit of visible(rendered) features in the Feature Layer on the Scene View but I cannot find it in the documentation of Arc GIS JS 4.13. 

Could I somehow control behaviour of Feature Layer to show all the features or at least to inform users that some features are not visible when should be?

Regards,

Tom

0 Kudos
1 Reply
SaschaBrunnerCH
Esri Contributor

Hi Tomasz,

Your guess is correct and this is a know limitations also mentioned in the documentation: FeatureLayer --> Read more --> Data Visualization 

You can check if there are missing features with: maximumNumberOfFeaturesExceeded in FeatureLayerView  

Check this codepen: https://codepen.io/SaschaBrunnerCH/pen/rNaLpge 

Regards, 

Sascha

0 Kudos