When turning on "ground:'world elevation '" in SceneView, use GeoJSONLayer to add layers and use maxScale. When you tilt or rotate the map, the layers will suddenly appear. Here is my demo code
Normal scaling:
After tilting:
how to solve the problem
Hi @HHAO, good news and bad news. The bad news is that this is by design. For 3D SceneViews, the scale is based on the center of the view. So when the view is tilted/rotated, the view's scale can interact with the layer's scale, and you can see the effects in your repro case. The good news is that you're not doing anything wrong. Hope this helps!
Excellent, we are investigating, and will update this thread when we have an update to share.
yes!
Hi @HHAO, thanks for posting your issue here. If I understand correct, after you zoom in to the map, until the geoJSONLayer features disappear due to the maxScale, if you tilt/rotate the map, the geoJSONLayer features (some, anyway) reappear. Is that correct?
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.