Before we begin I just want to make clear that I have already read the following SO articles top to bottom, tried to replicate the solution, and so far cannot.
Google Ma
You should use
$('#myModal').foundation('reveal', 'open');
to show the modal.
Also, google.maps.event.trigger(bigmap, 'resize');
should be bound to the opened event of the #myModal
:
$('#myModal').on('opened', function () {
google.maps.event.trigger(bigmap, 'resize');
});
And check bigmap, it's out of the variable scope.