If I set my width to 500px, I can get the map-canvas div to show up when I click my "get started" button. If I set my height/width to 100%, it doesn't show up.
I want to be sure my project will load on a mobile device so I don't want to use absolute dimensions.
Use can use absolute positioning without a
width | heightvalue, usingtop|left|bottom|rightwith0set as their values which would result in the#map-canvasdivbecoming the size of the containing element#secondas long as it is set to relative like so:Here is the updated bin.
I hope this helps!