Joomla CMS  3.10.11 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.10.11 et du framework Joomla Platform intégré
to

Method to add an event handler to the map. Event handlers must be passed in either as callback name or fully qualified function declaration

Paramètres
string$typeThe event name
string$functionThe event handling function body

add an event call: $map->addEventHandler('click', 'function(){ alert("map click event"); }');

Renvoie
JGoogleEmbedMaps The object for method chaining
Depuis
3.1.4