Google provides public API which can be used for geocoding and reverse-geocoding of addresses. This API is also available as part of the client-side Google Maps JavaScript API, or for server-side use with the Java Client, Python Client, Go Client and Node.js Client for Google Maps Services. Geocoding is the process of converting addresses (like a street address) into geographic coordinates (like latitude and longitude), which you can use to place markers on a map, or position the map. Reverse geocoding is the process of converting geographic coordinates into a human-readable address. One of my clients from Canada contact me for reverse geocoding for pointsRead More →

I will make it really quick. Yesterday, I created a script which use google JavaScript Api to extract nearby places and draw multiple routes to all these nearby places. I used the following API end point to pull all the nearby places. Step 1: var response = UrlFetchApp.fetch(“https://maps.googleapis.com/maps/api/place/nearbysearch/json?location=-33.8670,151.1957&radius=5000&name=church&key=YOUR_API_KEY”); var results = JSON.parse(response).results; Logger.log(results.length); var places =[]; places.pop(); for(var i=0;i< results.length; i++){ places.push([results[i].name,results[i].place_id]); } Step 2: Draw Map in div var map = new google.maps.Map(document.getElementById(‘map’), {zoom: 20,center: {lat: 41.85,lng: -87.65}}); Step 3: Use directionsService and directionsDisplay  to calculate routes and display on Google maps var directionsService = new google.maps.DirectionsService; var directionsDisplay = new google.maps.DirectionsRenderer; dDisplays.push(directionsDisplay);   Step 4:Read More →