1. Home >
  2. Documentation >
  3. Map >
  4. 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);
Close