AnsweredAssumed Answered

Map Does Not Display When Div is Inside Another Div

Question asked by chuckf74 on Oct 18, 2016
Latest reply on Jun 26, 2017 by kdunaway_ves

Hello All,

 

I'm using the 4.1 sample and noticing that the map will not load when the Div is inside of another div.  See the html below.  It's basically the sample from Getting Started: Get started with MapView - Create a 2D map | ArcGIS API for JavaScript 4.1  Do I need to change something?  This worked in earlier versions.

 

<body>
   <div>
      <div>
         <h1>Stations Map</h1>
      </div>
      <div id="viewDiv">
      </div>
   </div>
</body>

Thanks,

Chuck

Outcomes