var y = Math.round(((-1 * lat) + 90) * (this.MAP_HEIGHT / 180)); var x = Math.round((lng + 180) * (this.MAP_WIDTH / 360));
Use some algebra, and I came out with:
var lat=(y/(this.MAP_HEIGHT/180)-90)/-1 var lng = x/(this.MAP_WIDTH/360)-180
Not completely sure about this math, since it was done in my head, but they should work, just check them first.
source share