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) );
});
});