Leaflet Choropleth App


A Leafletjs Choropleth web application is installed upon installation.

This application uses pg_featursrv to supply json for the map.

It can be access via the tab on the home page:


It can also be access directly via url at:



Go to /var/www/html/LeafletChoroDemo.html and edit line 155:

var full_url = “https://<YourIP>:9001/collections/public.countries/items.json?limit=100&continent=Europe”;

Change <YourIP> to your server IP or hostname.

Note: If you are not using SSL, update the line to use ‘HTTP’ and port to 9000


Once accessed using above, the app will appear as shown below: