Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Integrating Google maps with C++ Program

I am making an artificial intelligence based shortest distance finder between two points in c++ language. My coding for that is complete and working fine. Now I want to integrate it with Google Maps Api. I want to show the shortest distance graphically on google maps exactly same as google maps show directions. I am stuck and can't find any help. I know I have to do socket programming for this. Please guide me with proper steps and coding snippets. Thanks in advance!

like image 837
Hasan Siddiqui Avatar asked Oct 20 '22 09:10

Hasan Siddiqui


1 Answers

Check out the official api : https://cloud.google.com/maps-platform/

For interaction with the http api you could use a client such as curl (http://curl.haxx.se/) or maybe boost asio if your are using boost. see this question at SO: Boost.ASIO-based HTTP client library (like libcurl)

like image 141
Johan Engblom Avatar answered Nov 15 '22 00:11

Johan Engblom