How are GMAP API requests counted?

3

In an internal system, there is a simple plot of an A-B route on one of the pages. Recently this page is receiving a larger number of requests and consequently requesting gmap more often.

I want to implement a way to just request and render gmap after a click.

What I want to know is: Requests to API of GMAP are counted from script loading

<script type="text/javascript" src="https://www.google.com/jsapi"></script>

Or the method load

google.load(module, version)

Well, I'll know how to change it better to avoid requests that are not available to API

    
asked by anonymous 08.09.2016 / 18:47

1 answer

5

Basically you will be charged whenever you load a map / image on the screen and not when you upload only the Google Maps script on your site.

You will be charged when:

  • A web page or application displays a map using the Google Maps JavaScript API
  • The webpage or application displays a Google Street View Image API using the Maps JavaScript API. If a Street View panorama replaces a map in the same div element, the panorama is not charged.
  • An application requests an image from the Google Static Maps API map.
  • An app requests a panoramic image of Google Street View Image API

Source: link

    
08.09.2016 / 18:56