add click on map and display function