I am now starting new project and I wanted to know if I could use google maps to solve my problem and get list of countries in selected route.
I tried to search on internet about this but couln't find anything what I needed.
Edit: So I created function which loops through routes steps and by given latitude/longitude coordinates in each step I can get in which country is this step taken by using googles geocoder.geocode function. But now I face new problem while I am looping through steps I get this error: OVER_QUERY_LIMIT indicates the webpage has sent too many requests within the allowed time period. I even tried to set timeout for 500ms before caling geocode function but no use.