support for custom render object listener and associated rendering event



How about enabling some customization on how and what triggers the map to be rendered In class EGMap line 545 we see the render triggering process.

google.maps.event.addDomListener(window, "load",' . PHP_EOL . $this->_containerId . '_init);' . PHP_EOL;

What if the DOM object (in this case window) and the event (load) could be overriden 

In this solution the renderMap method has 2 additional optional arguments $element and $event

Now if I need to render a map only after some form fiels have been selected / filled in .... that is possible