i want to display popup information over WMS service file that i published from geoserver and using it Leaflets. Below is the picture for illustration.
Now i just want when user click any polygon the information related to it will be display as popup from postgis database, what are the possible ways to fetch information db ?
I am new to WebGIS.