The objective is to show the content as quickly as possible without blocking the page.
The elements appear in the following order:
- Map Div
- Map Initialization JavaScript — wrapped inside a named function
- Maps API JavaScript — must be placed after the abovementioned elements; the
async
and/ordefer
attributes prevent blocking behavior