How PocketGudie turns your phone into a personal tourguide?

Input

latitude λ, longitude φ (degrees), radius r (meters)

screen coordinates x, y (pixels)

Output

screen coordinates x, y (pixels)

proximity (boolean)

Conversion

Mercator projection

Basic insight

At sea level, we have

On OpenStreetMap (a Mercator map), we have