This is series of tutorials how to use Leaflet with Nodejs. To install one of the tutorials just copy them into any folder and execute npm start
within the folder in your console.
I am using Browserify and Beefy to start the tutorials on the localhost. If you do so as well, you will find it on http://localhost:9966/ in your machine.
Note: Make sure you have already installed Nodejs and NPM. If you haven't, here is a link to download and install it.
This first tutorial shows a few possible base layers you can use with Leaflet.
This second tutorial shows how to integrate an interactive Geojson layer. The example data is a geojson of the Austrian states. If you hover over a state, the name, population density (people/km2) appears in a small info control on the right bottom. Furthermore, the population density classified into groups including a legend panel.
Demonstrates a custom-built function to retrieve information (attribute values) from a WMS layer for a pixel location on the map.