AnsweredAssumed Answered

Flickering after creating a 3D Map from div with size constrains

Question asked by m.reiprechtconterra-de-esridist Employee on Feb 28, 2016

If I create a SceneView with a container, which has size constrains, e.g.:

 

#view1Div { 
      position: relative; 
      width: 300px; 
      height: 300px; 
      padding: 0; 
     margin: 0; 
}

 

And I do not define the width and height properties on the SceneView, then the SceneView's size matches the size of the div but flickers (the browser is chrome 46.0.2490.80).

 

I can fix this by defining the width/height properties directly on the SceneView. Is this required? Or should the automatic height detection produce no flickering?

Attachments

Outcomes