The objective is to show the content as quickly as possible without blocking the page. This example fails at that.
The elements appear in the following order:
- Map Div
- Maps API JavaScript — it can be placed anywhere including document head and bottom of page; it blocks the page
- Map Initialization JavaScript — executed on window load