Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What exactly counts as a google map request

I have a google map application which i wish to deploy and while budgeting,i came across this page that outlines google maps premium features https://developers.google.com/maps/pricing-and-plans/

and what the limits of the free tier consist. Since my app is a single page app,there wont be lots of pages with google maps,so loading many pages with embedded maps wont be the thing that gets me over free tier daily limit caps.

I do not have reverse geocoding with server with google. My app is a realtime movement plotter for a courier firm. In the case of my app,what consists as a request to google that can help me calculate the number of requests my app is going to make in a day?.

I am the only user of the app currently.

like image 285
Le Qs Avatar asked Jun 10 '16 15:06

Le Qs


People also ask

How many request Google Maps API?

While there is no maximum number of requests per day, the following usage limits are in place for the Maps JavaScript API: 30,000 requests per minute. 300 requests per minute per IP address. In the Google Cloud Console, this quota is referred to as Map loads per minute per user.

What is a Google direction request?

The Directions API is a web service that uses an HTTP request to return JSON or XML-formatted directions between locations. Directions is available in several forms: as a standalone API. as part of the client-side Maps JavaScript API. for server-side use as part of the Client Libraries for Google Maps Web Services.

Can I put Google Maps on my site without using Google map platform products?

Google Maps now offers the ability to embed the map that you're viewing into your website or blog, without any programming or use of the Google Maps Platform.


2 Answers

A map load is defined in the documentation FAQ:

How are map loads applied against the usage limits for Google Maps APIs for Web?

A single map load is charged when any of the following occur:

  • A web page or application displays a map using the Google Maps JavaScript API.

  • A web page or application displays a Google Street View Image API panorama using the Google Maps JavaScript API. If a Street View panorama replaces a map in the same div element, the panorama is not charged.

  • An application requests a single map image from the Google Static Maps API.

  • An application requests a single panorama image from the Google Street View Image API.

After a web page or application loads a map, a static map image, or a Street View panorama, any user interactions with it, such as panning, zooming, or switching map layers, do not generate additional map loads or affect usage limits.

like image 105
geocodezip Avatar answered Sep 23 '22 19:09

geocodezip


When you only use the Javascript-API(as it seems you do), the only thing that will count is the creation of a google.maps.Map-instance

However, based on your description you should check if you application doesn't violate the TOS:

No asset-tracking unless you have purchased the applicable Maps for Work license. Unless you have purchased an applicable Maps for Work license that expressly permits you to do so, you will not use the Service or Content for commercial asset-tracking or in Maps API Implementations whose primary purpose is to assess vehicle insurance risks.

  • Commercial asset-tracking includes dispatch, fleet management, and Maps API Implementations that track your (or your end users’) assets (for example, private or commercial transportation applications, including taxi and vehicle-for-hire applications)


  • Non-commercial asset-tracking implementations include applications used for a non-commercial purpose (for example, a free, publicly accessible Maps API Implementation that displays real-time public transit or other transportation status information or that allows end users to share real-time location with others).
like image 39
Dr.Molle Avatar answered Sep 24 '22 19:09

Dr.Molle