11-02-2016 04:17 AM
We have a specific case, where we would like to enable/disable layers depending on what data is displayed on map (via chart or feature clicking).
We cannot seem to find any related API for attaching events for when user clicks e.g. a chart. How do we go about attaching an event, so when a chart is clicked an event is fired (preferably also getting what was actually clicked in order to differentiate).
I have looked at the discussion "How to attach custom event handler to GeoJSON elements?" http://community.hexagongeospatial.com/t5/Smart-M-App-Tech-Discussions/How-to-attach-custom-event-ha... but that just goes for the feature part of things. We would like to be able to hook on to other click events. Also we would of course prefer if this was available via API.
11-02-2016 05:17 AM
For chart events, please take a look into this thread: