This is similar to 178-delayed-widget, except the htmlwidget dependency is present right from the beginning.

Verify the following:

  1. A 'Static render complete' alert appears.
  2. An 'onRender called' alert appears.
  3. The map appears, with background tiles and markers.