I want to get latitude and longitude coordinates of an address which is a dummy value while using google maps in HTML page. And then I want to show the location according to calculated coordinates. How can I achieve this feature using HTML, JavaScript and Google Maps?
            Asked
            
        
        
            Active
            
        
            Viewed 465 times
        
    0
            
            
        - 
                    https://developers.google.com/maps/ – Tom Stickel May 26 '17 at 06:24
 - 
                    Actually this link https://developers.google.com/maps/documentation/geocoding/intro – Tom Stickel May 26 '17 at 06:24
 
1 Answers
1
            https://maps.googleapis.com/maps/api/geocode/xml?address=1600+Amphitheatre+Parkway,+Mountain+View,+CA&key=YOUR_API_KEY here this url you can get the coordinates. By requesting it, we got the response data where we got the coordinates on a JSON format. For Detail info https://developers.google.com/maps/documentation/geocoding/intro
here the url to show the location using google map url https://www.google.com/maps?q={longitude},{latitude}
        purna
        
- 44
 - 3