Center, zoom and type attributes are required to create a map.
Asynchronous vs Synchronous Loading:
GMap supports both static and asynchronous loading of the Google Maps API. The widget automatically detects if Google Maps is already loaded and will use asynchronous loading only when needed.
Static Loading (Traditional Method): Include the script tag before the GMap component if you prefer to load Google Maps statically. This is more efficient when you have multiple GMap components on the same page.
Asynchronous Loading (Dynamic Library Import): For better performance and on-demand loading, provide the apiKey attribute (and optionally apiVersion and libraries). The widget uses Google's Dynamic Library Import API to load libraries only when needed. If Google Maps is already loaded statically, the widget will automatically use the existing instance and ignore the apiKey, apiVersion, and libraries attributes.