Google Maps API limit

Hello!

I'm building a mapping tool for an internal project and I'm running into some complications. I'm trying to map a couple hundred of properties and I'm only able to map 10 at a time.

How can I increase the maximum results in Google’s geocoding API? Our application sometimes returns 1000 addressed and we want to get the longitude and latitude in a single request. Unfortunately we only get 10 results per request and the rest if showing an over query error.

Here's the code that I'm currently using:
//data = results from a json request - depending on the user input sometimes the query returns more than 10 addresses.
$.each(data, function(i, item) {
        geocoder.geocode( { 'address':item}, function(results, status) {
        //alert(status);
        if (status == google.maps.GeocoderStatus.OK) {
            var coords = results[0].geometry.location

            map.setCenter(results[0].geometry.location);
            marker = new google.maps.Marker({
                position: results[0].geometry.location,
                map: map,
                animation: google.maps.Animation.DROP,
                icon: base_url+'public/assets/img/home-2.png'
            });
        }
        else
        {
            if(status == google.maps.GeocoderStatus.ZERO_RESULTS)
                zeroResults++;

            if(status == google.maps.GeocoderStatus.OVER_QUERY_LIMIT)
                overQuery++;

            if(status == google.maps.GeocoderStatus.REQUEST_DENIED)
                requestDenied++;
            if(status == google.maps.GeocoderStatus.INVALID_REQUEST)
                invalidRequest++;
            error++;
        }
    });

});// end $.each
danswillAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

KimputerCommented:
Check which one you need:

Users of the free API:
2500 requests per 24 hour period.
5 requests per second.

Google Maps API for Work customers:
100 000 requests per 24 hour period.
10 requests per second.

If you already can clearly tell the free API is too limiting, then go for the paid version: https://developers.google.com/maps/documentation/business/

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
danswillAuthor Commented:
Does the paid version of Google Maps API for work have a higher limit per second?
KimputerCommented:
All the info available I posted already. More technical details you can probably get by contacting their sales department, as provided in the link I posted too.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.