Some experiment with leafleft.js. Following the issue here is the core code for a 1px:1point working example for a finite map.

Important: All the (px,py) pixel coordinates  should be transformed  to standard LatLng coordinates using

Strangely, the

is basic to make the map work properly