Thanks for responses so far...that helped.
I have handled the Mouse move, it is working but I am also getting the error in the console .... any one has any idea to fix it.
Error in epic "mouseMoveMapEventEpic". Original error: TypeError: Cannot read property 'mouseOut' of undefined
at t.project (ms2-api.js:134)
at t._next (ms2-api.js:125)
at t.next (ms2-api.js:125)
at t.debouncedNext (ms2-api.js:125)
at t.l (ms2-api.js:125)
at t._execute (ms2-api.js:125)
at t.execute (ms2-api.js:125)
at t.flush (ms2-api.js:125)
at timer (zone-evergreen.js:2561)
at ZoneDelegate.invokeTask (zone-evergreen.js:406)
This is how, I have implemented it...
MapStore2.triggerAction({
eventName: "mousemove",
toolName: "mouseposition",
type: "REGISTER_EVENT_LISTENER"
})
MapStore2.onAction('MOUSE_MOVE', function(action) {
console.log('MOUSE_MOVE: ', action);
});