It's taking your location and heading and using lat/long coordinates returned by the Wikipedia API to try to figure out where those articles are in relation to you.
What is heading? Can out phone identify the orientation too? What if there are two "famous" buildings beside each other? How can you differentiate without actually identifying the image?