How can I modify my existing weather app?

I would like to modify my weather app which uses OpenWeatherMap API to fetch data of the specific city by taking input of city from users. In modification, I would like to put map on the webpage and by clicking on the desired location it should give weather info of the same place.

I tried using documentation of OpenWeatherMap API to draw it out but couldn’t find much specific.