Home › Forums › Front-end Issues › how to trigger google.maps.event.trigger(map, 'resize') on acf_form google map › Reply To: how to trigger google.maps.event.trigger(map, 'resize') on acf_form google map
Hey @acf-support , thanks for responding.
I already know about this filter acf.add_filter(‘google_map_args’, function( args, $field ) and its no help.
It do not provide instance of the map, it only provides the arguments passed to map and the field on which map is initiated.
I need an instance of the map to run google.maps.event.trigger( map , ‘resize’);
Please try to read my original post once again in detail. You will get the idea.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
Plugin boilerplates can do some of the heavy lifting during initial development. We look at four options to speed up your plugin creation. https://t.co/ZtMsdBxAHw— Advanced Custom Fields (@wp_acf) June 5, 2023
© 2023 Advanced Custom Fields.