Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
$('#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