Leaflet example in one file

This is the html template for a leaflet map. CSS and Javascript are in different files. For a self-contained one-file-version see one-file.html. For a leaflet map without Javascript programming try Leasymap.

Find the source code on Github.

The one important thing is that the #map div needs a height to be visible.