Reputation: 7576
I'm trying to wrap my head around what counts against the API call quota. I have a page with a map, the map has 5000 locations marked on it.
Does google count the 1 page load or the 5000 locations it marked on the map?
Upvotes: 1
Views: 4129
Reputation: 927
You can find the answer to this in the new documentation Understanding Billing for Maps, Routes, and Places
From the SKU: Dynamic Maps
A web page or application that displays a map using the Maps JavaScript API. A map is created with the
google.maps.Map()
class.User interactions with the map, such as panning, zooming, or switching map layers, do not generate additional map loads.
This also mean that Drawing on the Map does not count as map load since it does not need to call the google.maps.Map()
for each overlay.
However, if you are retrieving the latitude and longitude for a place or street address with Places Library or Geocoding Service to display the markers, then it means you are making a request using those APIs and will be charged separately.
If your Javascript Map instantiates a Street View, this will also be charged separately as per the documentation
In JavaScript, with the google.maps.StreetViewPanorama() class or Map.getStreetView() method (prior to the new pricing, Map.getStreetView() was not charged). Usage of the StreetViewService() class is not charged.
Hope this helped!
Upvotes: 5