Added code for map area click event handling