I will start with a thanks – Great Plugin, Great Documentation.
Now I am a developer and need a tricky help here.
– I added a google map custom field on posts.
– I am showing the edit post / add new post forms on frontend by using functions acf_form_head() and acf_form()
– everything works good
– now the forms are in a modal and I need to trigger google.maps.event.trigger(map, ‘resize’) when the modal opens . As the documentation mentions on https://www.advancedcustomfields.com/resources/google-map/ at the end of the page.
when I run google.maps.event.trigger(map, ‘resize’) obviously I get map is not defined