Arnold Layne
asked on
How to add and delete map markers for google maps
I am getting addresses from a database and I want to geolocate each one and create a new map marker for each. Does anybody know an easy way to do this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Sounds like a plan.
The thing to remember about using Google's Geocoder is that Google will block use of it if you hit them with multiple rapid-fire requests. The public version is very limited. That's the purpose of the delay in the code. Without the delay you might get two requests fulfilled and the remaining eight will be denied. You can play with the delay interval to see what they will tolerate. In the code step is the number of requests per connection. As written I'm sending 1 request every 700 ms. Two requests every 1000 ms will be quicker if Google allows it.
Thanks for the points.
The thing to remember about using Google's Geocoder is that Google will block use of it if you hit them with multiple rapid-fire requests. The public version is very limited. That's the purpose of the delay in the code. Without the delay you might get two requests fulfilled and the remaining eight will be denied. You can play with the delay interval to see what they will tolerate. In the code step is the number of requests per connection. As written I'm sending 1 request every 700 ms. Two requests every 1000 ms will be quicker if Google allows it.
Thanks for the points.
ASKER