how to consult the distance matrix with geocoder together?

0

I'm developing an app that uses the google API to display on the map the places registered along with the distance from each location as follows.

mMap.addMaker(new MarkerOptions().position(latLng).title(nome do local).snippet(distancia do local));

Until all ok, but for this I'm forced to use two distinct APIs, the distance Matrix (to get away) and Geoconding (to get the location, since I only have the address of the place, not its LatLng ).

I would like to know if it is possible to join these two APIs to achieve the distance and the LatLng of the site at the same time, otherwise the number of requests may end up extrapolating too much.     

asked by anonymous 11.03.2018 / 21:37

0 answers