Late Rendering

creation, render, div, light

Demonstrates how a map can be rendered to an empty container after construction by calling the render method.

In cases where you need to create a map first and render it to some container later, call the map constructor without a "div" argument. In this case, you can provide the options object as the first argument. To render your map to some container after construction, call the map's render method with the container id.