Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: How get the response of a petition to Google´s API Directions?


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 3 - Last Post: Feb 26, 2016 9:32 AM Last Post By: Markus Humm
Victor Zepeda

Posts: 20
Registered: 3/22/16
How get the response of a petition to Google´s API Directions?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 24, 2016 3:43 PM
Sorry, my english is bad.

I´m developing an app with google maps and the c++/Delphi XE8 builder.

I understand how to construct the request, i just don´t know how to do the petition and how to catch that information.

Could i use the REST Client Library? is posible to save the response either in xml or json?

Thank you for your help!!!
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: How get the response of a petition to Google´s API Directions?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 25, 2016 11:29 AM   in response to: Victor Zepeda in response to: Victor Zepeda
Am 25.02.2016 um 00:43 schrieb Victor Zepeda:
Sorry, my english is bad.

I´m developing an app with google maps and the c++/Delphi XE8 builder.

I understand how to construct the request, i just don´t know how to do the petition and how to catch that information.

Could i use the REST Client Library? is posible to save the response either in xml or json?

Thank you for your help!!!

Hello,

what exactly do you want to do? Display a certain place shown by google
maps inside a TWebbrowser on your form?

Greetings

Markus
Victor Zepeda

Posts: 20
Registered: 3/22/16
Re: How get the response of a petition to Google´s API Directions?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 25, 2016 12:07 PM   in response to: Markus Humm in response to: Markus Humm
Hello,

what exactly do you want to do? Display a certain place shown by google
maps inside a TWebbrowser on your form?

Greetings

Markus

Hallo Markus!!!

i want to use the web service of Google Maps Directions, to get the coordinates beetween two directions and draw a polyline on my TMapView!!

Greetings

Victor, Grüße von Mexiko!!!
Markus Humm

Posts: 5,113
Registered: 11/9/03
Re: How get the response of a petition to Google´s API Directions?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 26, 2016 9:32 AM   in response to: Victor Zepeda in response to: Victor Zepeda
Am 25.02.2016 um 21:07 schrieb Victor Zepeda:
Hello,

what exactly do you want to do? Display a certain place shown by google
maps inside a TWebbrowser on your form?

Greetings

Markus

Hallo Markus!!!

i want to use the web service of Google Maps Directions, to get the coordinates beetween two directions and draw a polyline on my TMapView!!

Greetings

Victor, Grüße von Mexiko!!!

Hello,

ok, if it's some web service (I don't know this stuff) then the REST
client library might be a starting point.

I guess there must be some API documentation available from Google if
that API is publically available? Did you already look for that
documentation? it would tell you whether the oputput is JSON or XML.

Greetings

Markus
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02