I am using https://github.com/wimagguc/jquery-latitude-longitude-picker-gmaps in a bootstrap Modal window. But because it needs to be resized after modal window in loaded/shown the below trigger effect is not working as with this script there is no global variable 'map'
google.maps.event.trigger(map, 'resize');
Looking at the .js file of the above script, can anyone tell me on what I need to trigger the resize?