|
|
Re: Heatmap click event [message #1810173 is a reply to message #1810019] |
Fri, 02 August 2019 08:50 |
|
Hi Tim
If you want to introduce a new event, you need to send that event from the browser to the UI server. On server side, you need to accept the event and forward it to your field. This is done by the ModelAdapter.js on browser side and IJsonAdapter on server side. You can have a look at the existing adapters and try to trace the click event. To implement a new event ('e.g. markerClick'), just do it in the same way as it is done for the click event.
-> HeatmapField.js: this.trigger('markerClick')
-> HeatmapFieldAdapter.js: this._send('markerClick')
-> JsonHeatmapField.java: handleUiMarkerClick()
-> IHeatmapFieldUIFacade.java: handleMarkerClickFromUI
-> AbstractHeatmapField.java : execMarkerClick()
|
|
|
Powered by
FUDForum. Page generated in 0.03786 seconds