Put map listener for mousemove and click

Our listener will handle two events: mousemove and click

Be sure to put this inside our function, if not, you will be like mine, it took me several minutes to solve because it does not show me the map. Only to find out I have placed the listeners outside the function