redefining google map from html js code example
Example: google maps js on map load
google.maps.event.addListenerOnce(map, 'idle', function(){
// do something only the first time the map is loaded
});
google.maps.event.addListenerOnce(map, 'idle', function(){
// do something only the first time the map is loaded
});