Render the map in setTimeout callback

This change is implemented to allow the `el` element to be attached to DOM tree
before the map is rendered.