StaticMap4OSM is a javascript library, which creates a static canvas image based on an OpenStreetMap like layer.