addOnMapClick

Add an action to be called on a Map Click event.

Parameters

action

a function called with the LatLng of the click. Return true if you want to consume the event.