- Home >
- Documentation >
- Misc >
- trigger
trigger
This function call the google.maps.event.trigger on the map.
Usage
Parameters
- eventName {string} Event name
- var_args {array} Arguments to append to the trigger (optional)
Note
- if eventName is the only parameter to set, parameters can be simplified as its string
$('#test').gmap3(); setTimeout(function(){ $('#test') .width("800px") .height("300px") .gmap3({trigger:"resize"}); }, 2000);