LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get directions from google maps

Hello all,

 

I want to read infromation from Goolemaps. Please help me.

 

I want to search some information in Maps  based on that,

 

1. I want to read all search points (Lattitude & Langitude).

2. Based on that i want to get the directions from Point A to Point B information like Total Distance and Time (as per attachment).

 

Could you please help i can get this information.

 

Best Regards,

Munna

Munna
0 Kudos
Message 1 of 7
(3,144 Views)

Is this a LabVIEW question?

0 Kudos
Message 2 of 7
(3,120 Views)

Yes .. I want to make it in LabVIEW to get directions...

Munna
0 Kudos
Message 3 of 7
(3,113 Views)

Hello All,

 

Please let me know is it possible in LabVIEW (or) not.

Munna
0 Kudos
Message 4 of 7
(3,037 Views)

Yes, it is all in the API.

0 Kudos
Message 5 of 7
(3,014 Views)

Google Maps has an API that you can hook into from whatever programming language you desire. 

 

Converting an address to lat/long is known as "geocoding".  There's a ton of resources online to help you with that.

 

As far as the distance is concerned, you can do a rough calculation with some trig between the two lat/long positions.

If you're interested in the route distance from Maps, you'll need to use their API.

0 Kudos
Message 6 of 7
(2,996 Views)

Dear Altenbach & Snowmule,

 

Thank you so much for your reply.

 

I found very useful information about my issue on this link

(https://developers.google.com/maps/documentation/webservices/)

 

Now I understood how to get the Lat & Lang (gecoding). But Please tell me how can I get the Search points. 

I mean if user selecting particular place then I want to read all search points for selected area. After that I can read Directions between Search points and Distance calculation by using GMap APIs.

 

Please let me know if anyone knows about this (API/any other soln).

 

Best Regards,

Munna

Munna
0 Kudos
Message 7 of 7
(2,962 Views)