0
votes

I am using geo location api http://maps.google.com/maps/api/geocode/json?address=ADDRESS&sensor=false

But the problem is I have above 500-1000 results who's long/lat I need. What I loop through geolocation api it nearly stuck the page.

Is there any better solution for this?

1
curl_multi_exec is a good option. And keep in mind you can only make 2,500 geocoding requests in a day.drew010
My requirements are move then 2500, is there any way i can do more then 2500 requests per day?Inam Abbas

1 Answers

3
votes

You need to geocode ahead of time and store the results in a local database. It is not appropriate to geocode so many points on the fly when a page loads for the user.

Also, pay attention to drew010's comment about the max number of requests in a day.