I am trying to load a google map with some specific parmeters. I understand the problem is most likely that the initMap function needs to be declared globally.
However, I h
In my case the function was async and it was crashing since the initmap was being called but it was not loaded at that point yet. So you can just write async="false" as mentioned before: