Smart M.App discussions

Looking for answers in regards to M.Apps, M.App Exchange or M.App Studio? Smart M.App Tech Discussion board is where you can search, ask your questions and assist others by sharing your knowledge. Join the conversation, connect, contribute and share.
Showing results for 
Search instead for 
Do you mean 
Posts: 33
Registered: ‎05-30-2016

Charts and features click events

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? 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.




Technical Evangelist
Posts: 1,273
Registered: ‎09-11-2015

Re: Charts and features click events

Hi Mikkel,


For chart events, please take a look into this thread:


It's driven only by the related JavaScript library and thus it's not directly documented.



Jan Neumann
Post Sales Engineer Web Applications
Hexagon Geospatial