Description


Retrieves the elevation data for a single latitude and longitude coordinate. The data is added to the Elevations collection. Returns true if the request succeeded, false otherwise. Maps Elevation API activation is required.





Example


procedure Form1_Button1_OnClick (Sender: TObject; var Cancel: boolean);
begin
    if Form1.Map1.GetElevation(49, 2) then
    begin
        if Form1.Map1.Elevations.Count > 0 then ShowMessage(Form1.Map1.Elevations[0].Elevation) else ShowMessage('No result');
    end;
end;