Navigation in Google Maps API for Android - google-maps

Is there a way to navigate with the Google Maps API?
I know I can use Intent to open the Google Maps app itself, but I'm looking for this solution specifically.

You can add direction/navigation to your Google Maps app by adding Google Directions API. This API calculates directions between locations using an HTTP request.
The quota is following:
2500 directions requests per 24 hour period.
Up to 8 waypoints allowed in each request. Waypoints are not available for transit directions.
2 requests per second.
ANything more will cost money.

Related

Google Maps Javascript API reporting I'm over limit

Google Maps Javascript API is reporting that I'm over the limit, but I'm pretty sure I'm not. I get this error:
You have exceeded your daily request quota for this API. For more information on usage limits and the Google Maps Javascript API services please see: https://developers.google.com/maps/documentation/javascript/usage
My Google API dashboard gives these numbers for the past day:
Google Places API Web Service: 407
Google Maps Geocoding API: 70
Google Maps JavaScript API: 30
What could be causing this? How can I get this up and running again, it is killing my application?
I came across your question because I am in the same position, seemingly well below the quota limits according to the console.
In the developer's console, go to the Dashboard, then click on the Google Places API Web Service. Then in the Quotas tab, scroll to the bottom and you'll see the Requests per Day. Here I was clearly reaching the 1000 requests per day limit, hence explaining the blocking of the requests.
We now count Google Maps JavaScript API client-side requests towards
the daily limit of the associated web service API.*
So it's the libraries=places and associated api usage (e.g. autosuggest in the search box) that is triggering this.

Google Web Services Pricing?

I am looking at the Google Web Services pricing on:
https://developers.google.com/maps/pricing-and-plans/
If I look at:
Google Maps Directions API
Google Maps Geocoding API
They say on the web page Free up to 2,500 requests per day.
This would be free if I use both or is it for an aggregate total of all these one listed.
Google Maps Directions API = 2000
Google Maps Geocoding API = 500
So if I did another query on either then I would be charged. Or can I go to 2500 on each of the items before I am charged?
Google Maps Directions API
Google Maps Distance Matrix API 4
Google Maps Elevation API
Google Maps Geocoding API
Google Maps Geolocation API
Google Maps Roads API
Google Maps Time Zone API
Thanks,
Ward.
Each web service has its own usage quota. You can execute up to 2.5K daily requests free of charge for each one.
For further details please refer to the documentation:
https://developers.google.com/maps/documentation/geocoding/usage-limits
https://developers.google.com/maps/documentation/directions/usage-limits
https://developers.google.com/maps/documentation/distance-matrix/usage-limits
https://developers.google.com/maps/documentation/elevation/usage-limits
Also, note that distance matrix usage is measured in number of elements and not in number of requests. The number of elements is a number of origins times a number of destinations in your request. So, sending for example 5 origins and 5 destinations (25 elements) in each distance matrix request you will be able to execute only 100 daily requests free of charge.

Google Geochart Without Geocoding

I can't find a clear answer for this one. I've read that there is no limit for Google Charts. However, I have read that there is a limit on using geocharts because of the usage of geocoding which falls under the Google Maps API. That said, under Google Geocharts Data policy, there is this:
Locations are geocoded by Google Maps. Any data that does not require
geocoding is not sent to any server. Please see the Google Maps Terms
of Service for more information on their data policy.
Is there any way that I can be sure that I am not using geocoding when I set the locations.
My locations are sent to the Geochart API as latitude-longitude, ISO-3166-1 alpha-2, or ISO-3166-2.
I just want to be sure that I am not using geocoding because I could have 25,000+ calls a day and do not want to have an issue with the Google Maps API Limits.

google maps api terms

I'm trying to use google maps API and have a question:
google says (http://www.google.com.ua/intl/en/enterprise/mapsearth/products/mapsapi.html) that if I use google maps I have restrictions for those services:
1) geocoding service
2) directions service
3) distance matrix service
4) eleveation service
but what about simple API? I mean are there any restrictions if I use lets say only function that adds marker to a map and function that shows the place on the map where particular point is located?
Thanks. Sorry for noob question but I've read terms and conditions few times and still not sure about the answer.
The restrictions i know about:
Not more than eight waypoints per route
Limited request-rates. It will be slow enough if you request one direction in one second.
No implementation on serverside. You will have to implement the Google API on clientside.
From Google:
2,500 directions requests per day.
When the mode of transportation is driving, walking, or cycling, each directions search counts as a single request.
Searching for transit directions counts as 4 requests.
Individual requests for driving, walking, or cycling directions may contain up to 8 intermediate waypoints in the request. Waypoints can not be specified for transit requests.
Concerning simple API:
There are no restrictions. :)

limitations Google maps

I have a locator based on Google maps. It seems like there is a maximum on the requests because after a period of time the search function is nog working anymore. When I look at the API information I only have 150 request at this time and the max is 2500. Who can help me with this?
http://google.stoepje.biz/
http://locator.stoepje.biz/
You're correct that there is a limitation on Google Maps API requests within a given timeframe. This is detailed in the Google Maps documentation.
The solution is to purchase a Google Maps API for Business license, which increases the number of API requests you can make per day.