- Home >
- Documentation >
- Map >
- destroy
destroy
This function destroys a google map.
Always destroy a map before emptying or removing its div !
Usage
Parameters
- None
Example
$('#test').gmap3(); setTimeout(function(){ $('#test').gmap3('destroy').remove(); }, 5000);