So, apparently Google Maps does not show when spawned with acf_form()
, but does when changing viewport. Now I would gladly use the fix you guys recommend, which is google.maps.event.trigger(map, 'resize');
, but it does not find neither google
or map
object because such is not defined anywhere that I can find. So how would I go about fixing it?
Note; this is only a problem because initially the maps itself is hidden and shown later on with .trigger
.