google maps api count - google-maps

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?

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!

Related

Google Map Rates/Charges

google map pricing is highly complex. Can someone tell whether the follow will be considered as three map accesses counted for charging. I am using Javascript APIs and render maps on a mobile web app.
showing a map in the client
Geocode an address
Add a marker on the map for the given location
Reference: https://developers.google.com/maps/billing/understanding-cost-of-use
showing a map in the client using the Google Maps Javascript API v3 is a "Dynamic Maps" load (requires loading the API)
Geocode an address is a "Geocoding" access
Add a marker on the map for the given location doesn't use any additional quota

Google Map Js Api Premium plan limitations

I have Google premium account.
I am using google map javascript api for showing map on our website.
Feature of map like
Load the map
Place the markers programmatically with coordinates.coordinates already stored in database. i used those coordinates to place the markers.
so my question is that what is the limitations for above features for premium account? Is there any limit that how may times we can load the map and place the marker.
I have seen some requests limit for directions and other things. but i am not using direction feature.
Thanks!!!
When you use a Premium plan Google Maps JavaScript API map loads will be counted against the purchased map credits. Map load is incurred when you show a map in your application. Interactions like zoom, pan or create new marker are not counted.
There is no daily limit, you can use maps while your map credits are not exhausted.
Client side services (geocoding, directions, distance matrix) and places library will consume your map credits as well.
For more details I can suggest reading the documentation:
https://developers.google.com/maps/premium/usage-limits

google maps how can i get live feed of a camera

My requirement is, I have a set up of few IP cameras in a certain area. I have geo-location of each camera.All cameras are set-up in urban area. can I call these cameras on google-maps? is there any API for that ? i should get live feed, when I click on a particular camera .. Please help me
Google map not providing any API for controlling any type of hardware devices. If you want to control you have to set up everything yourself. Google map is an API for doing map or location operations like getting the latitude and longitude of a location, get the distance from one location to another, and a map view. In your case I don't think Google map can give any help.
You can start reading documentation of Google map from here

Is it possible to create an InfoWindow using the Google Maps API V3 that is populated via Google?

If one puts in an address or set of coordinates into Google Maps (the web interface), it will create a set of one or more markers representing your search results on the map. You can click these markers to show an information callout that has data such as the phone number or reviews of the place.
I'd like to emulate this feature in a map on a web page I am building using Google Maps V3. I have successfully created a marker with custom icon and invoked an InfoWindow but I have to specify the content myself. Is there a way I can get the InfoWindow content for that street address/place as you would if you used Google Maps directly? I've seen a few references to the Google Places API, but I would have to extract and style the information myself which would require more time than I have in my budget. Is this the only way?
Thanks,
Steve
You need to do some reverse geocoding
http://code.google.com/apis/maps/documentation/geocoding/#ReverseGeocoding
Here is an example:
http://code.google.com/p/gmaps-samples-v3/source/browse/trunk/io-2010-bootcamp/v3-reverse-geocode.html?r=204

Google Maps API Driving Directions

I use Google Maps API and I have a map with 20 points on it.
Can I find an API call to give me driving directions and draw lines between them?
Yes, it can be done. The Google Maps API Documentation describes how to this very accurately:
"You can add the ability to calculate directions (using a variety of methods of transportation) by using the GDirections object. The GDirections object requests and receives direction results using either query strings (e.g. "New York, NY to Chicago, IL") or textual lat/lons.
The GDirections object also supports multi-part directions using a series of waypoints. Directions may be displayed as either a polyline drawing the route on a map, as a series of textual description within a <div> element (e.g. "Turn right onto the Williamsburg Bridge ramp") or both."
Unfortunately driving directions are not yet available for all countries. You may want to check the following spreadsheet to see if driving directions are available for a particular location:
Google Code - Map Coverage Filtered