Skip to content

Instantly share code, notes, and snippets.

@jasonsee
Forked from mattd/gist:2852249
Created June 1, 2012 13:57
Show Gist options
  • Save jasonsee/2852349 to your computer and use it in GitHub Desktop.
Save jasonsee/2852349 to your computer and use it in GitHub Desktop.
$('#position').live('pageshow', function(event, ui) {
google.maps.event.trigger(map, 'resize');
});
$('#map-init').click(function() {
google.maps.event.trigger(map, 'resize');
});
@jasonsee
Copy link
Author

jasonsee commented Jun 1, 2012

This is for jQuery click event loads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment