Fixed problem of displaced painting, too far to north or south, due to inaccurate lat/lng computation. Now taking projection in consideration by letting map convert pixel to lat/lng.
Also slight speed improvement by skipping the for loop across if latitude is out of range.
Fixed problem of displaced painting, too far to north or south, due to inaccurate lat/lng computation. Now taking projection in consideration by letting map convert pixel to lat/lng.
Also slight speed improvement by skipping the for loop across if latitude is out of range.