Now the identify method can determine the name of a map component while clicking. The next task is to add this functionality with mouse move. So I add another event handler mouseMotionListener with the Mapcontrol. Whenever the mouse pointer is moved it invokes the same identify method to determine where the pointer is right now.
As the mouse move event is more frequent than mouse click, the audio seems slower. So for now I stopped the audio response.
No comments:
Post a Comment