


And in doing so, chances for Google street funny photos are aplenty. The original images were taken by an army of Google’s hybrid electric automobiles, each one equipped with nine cameras on a single pole trying to photograph every highway and byway in the world. Var map = new (document.Montreal based artist Jon Rafman isn’t the original photographer, but instead, he explores the Street View in Google Maps and takes screenshots of the most unusual and funny photos. parameter when you first load the API. This example requires the Places library. pick list containing a mix of places and predicted search terms. This example adds a search box to a map, using the Google Place Autocomplete * Optional: Makes the sample page fill the window.

* Always set the map height explicitly to define the size of the div You may need to do some filtering of the responses to get the closest photo, but this should give you something to work with. Then we can send a request to Panoramio, inserting the coordinates, plus a little wiggle room on either side (I did +/- 0.002 degrees, a shape 200 m x 200 m square at the equator, generally smaller). "vicinity" : "5/48 Pirrama Road, Pyrmont", "reference" : "CnRlAAAAAfV6JIqSzL8Cf4VnXn0EaI1d5k3IPhdkEonq0MxiUbQFFSVuptVbXbNH4mrevb0bc7G8yWqTUv76i4KTuO_Wf3OrRHjCJJwzQ0mNLjbYGSVqy2eqyrgOUkl6S_sJfTbHzWZYrfPy7KZaet0mM5S6thIQJYuy5v_JD-ZxXEJLWTQRRoU5UaciXBBo89K-bce18Ii9RsEIws", "formatted_address" : "5/48 Pirrama Road, Pyrmont NSW, Australia", The Places API will give you the coordinates (latitude and longitude) in the place detail response you can then send the coordinates to the Panoramio API.įor example (drawing from examples in the API docs):
