Android Question Elevations from Google Maps using API Key [CANCELLED]

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All again,

Question cancelled. I think I need to do more reading, I am becoming more confused by reading Googles instructions. I will find a new question.

Regards Roger



Hi All

I have been getting Elevation data from google maps without an API key but it has very limited number of requests per day. I now have generated an API key but can't find how to use it in the URL string. Below is my final attempt, I have not shown the API key [security] but be assured I have included it in my attempt.

B4X:
'From the Developers Giude
https://maps.googleapis.com/maps/api/elevation/json?locations=39.7391536,-104.9847034|36.455556,-116.866667&key=YOUR_API_KEY

'My nth attempt
URL1= "http://maps.googleapis.com/maps/api/elevation/json?locations=ALat,ALng"&"%7C"&"BLat,BLng&Key=YOUR_API_KEY"
    HttpRequest1.InitializeGet(URL1)
HttpClient1.Execute(HttpRequest1,1)

This has been my best result after several variations on strings, it appears to go nowhere.

Any help greatly appreciated.

Regards Roger
 
Last edited:
Top