When a user clicks on the map, the map is centered on those coordinates and an API call is made for the weather data.
Add a loading icon to provide feedback that the request is being made. When the request is successfully completed, replace the loader with the weather popup.
When a user clicks on the map, the map is centered on those coordinates and an API call is made for the weather data.
Add a loading icon to provide feedback that the request is being made. When the request is successfully completed, replace the loader with the weather popup.