Yesterday I’ve published a simple Leaflet plugin called leaflet-corridor. The plugin defines a new Leaflet primitive L.Corridor.
When initialized with an array of geo points and width, it renders a polyline with width fixed in meters, not in pixels.
This is a short tutorial on how to create a map control in an Aurelia.js application. I am using the Leaflet library with custom tile source and I also show the way to implement your own overlay layer.