M
M
Maxim Osadchy2018-02-26 17:06:50
PHP
Maxim Osadchy, 2018-02-26 17:06:50

How to track the number of requests to google maps api?

Hello!
Such a problem - three addresses are sent from the form, json with coordinates should return, but either a normal array with data or null is returned to me in random order.
How can you keep track of how many are leaving?
Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
ivankomolin, 2018-02-27
@ivankomolin

As far as I know, geocoding requests in the google maps api can only be made to one address.
It is also possible to collect several requests into one using Batch Requests, but there, for each request, a key is independently specified, by which you can then match the desired response with the desired request.
It seems to me that the problem is not with the google maps api, but with the implementation of the described mechanism on your side.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question