overviewer/Minecraft-Overviewer — pull request #776 by iprefermuffins (2012-07-29 22:57:36+00:00)
Title: fix incorrect world coord <-> latlng conversion for orientations other than upper-left

I noticed that sign markers were offset for north-direction settings other than upper-left. I fixed it by changing some offsets from 16 to 15 in fromWorldToLatLng and fromLatLngToWorld. I haven't tried to figure out how the math works, so I don't have any good understanding of why this works other than that the results looked wrong before and look right now.

Comparison renders made before/after my change (turn on sign markers, of course):

http://tmp.iprefermuffins.com:8042/minecraft/exmaple-before
http://tmp.iprefermuffins.com:8042/minecraft/exmaple-after