addOnFeatureClick

Add an action triggered when a Feature rendered by this DataRenderer gets clicked.

Parameters

action

a function with one argument, the DataBoundFeature clicked. Return true if you want to consume the event.