Getting Distance and Traveling Time (Bus Mode) Details from Google Maps in ASP.NET C# using Google Maps API XML & XPath Webservice
Description: 1. In Design View Coding, add the Javascript Code in Head section to make an integration with Google Maps API Script. <script src="https://maps.googleapis.com/maps/api/js?sensor=false&libraries=places" type="text/javascript"></script> 2. Add the Source and Destination functions inside script tags, which is indicating the locations function Source() { try { var input = document.getElementById('TextBox1'); var autocomplete = new google.maps.places.Autocomplete(input); autocomplete.setTypes('changetype-geocode'); } catch (err) { //...