Hi,
I’m working with a third party plugin (Ultimate Widget Manager) and ACF widgets together. I have a small problem with google maps field.
The Widget Manager plugin gives me ability to edit the widgets in page options. So when I’m opening a sidebar (toggle) then the map is not rendering correctly. (This was a bug before with the tabs.)
I was trying to search the code but I couldn’t find the part where you call show
method on widget toggle or sidebar toggle.
It would be a big help for me to know on which event you are calling the show
method.
Thank you!
Hi @bokorir,
Thanks for the post.
I am not sure the issue is very clear, but the map object is created when the document is ready like so:
var map = null;
$(document).ready(function(){
$('.acf-map').each(function(){
// create map
map = new_map( $(this) );
});
});