I am using
google.maps.DistanceMatrixService to get distance between source[] and destination[]. But
DistanceMatrixService returns distances between each source and destination.
E.g Source[] = [Source1,Source2,Source3]
Destination[] = [Dest1, Dest2, Dest3]
DistanceMatrixService will returns distance between each source and destination combination.
like [Source1 - Dest1], [Source2 - Dest1], [Source3 - Dest1], [Source1 - Dest2].........[Source3 - Dest3]
Is there any way to get one to one distances rather than each combination. Like [Source1 - Dest1], [Source2 - Dest2], [Source3 - Dest3].
My application is going to use this services heavily, so it causes to exceeds standard usage limits mentioned at
https://developers.google.com/maps/documentation/distance-matrix/usage-limitsSo my Questions are1. Is there any alternative provided by Google Map API for google.maps.DistanceMatrixService?
2. If not, is there any way in the same service to get only one to one distances?