Opening a new window on click will not be an efficient way of mouse move event. So I changed the way of showing information table of the 'identify' toolbar control. Right now we are interested only with determining the place name. So, now if the mouse has been clicked some where inside 'Oregon', only the text 'Oregon' is printed out in the console panel. Thus the mouse pointer identifies where it is pointing right now.
The next step is to incorporate sound with mouse event. I used java 'com.sun.speech.freetts' libraries to incorporate sound. This is a free 'Text to speech' library. Right now if the mouse has been clicked somewhere in 'Oregon', the speaker also enunciate the word 'Oregon'!!!
No comments:
Post a Comment