Skip to content

Instantly share code, notes, and snippets.

@jasonsee
Forked from mattd/gist:2852249
Created June 1, 2012 13:57
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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