I'm asking this question since my Final Year Project requires calculating distance between two markers. But upon using the Google Directions API key which I've registered and created it, the server returns me this result (Screenshot link below, click to see). It does not create the polyline and does not return the distance between two markers.
ScreenShot of the result
If there's no choice but to create a billing account, how much would it costs for a student like me? Is there a student package where they'll provide free access to this API service? Please help, thanks.
This might not be the answer you want to hear but this is the best answer we can provide you.
Google Maps Platform offers a free $200 monthly credit for Maps, Routes, and Places once you enable billing in your project. With the $200 monthly credit, the vast majority of customers find their use cases are completely free. You won't be charged until your usage exceeds $200 in a month.
You can avoid surprises on your bill by doing the following:
Set a budget alert, to track how your spend is growing toward a particular amount. Setting a budget does not cap API usage, it only alerts you when your spend amount gets near the specified amount.
Cap your daily API usage, to manage your cost of use of billable APIs. By setting caps on requests per day, you can limit your spend. Use a simple equation to determine your daily cap depending on how much you want to spend. For example: (Monthly spend / price per each )/30 = requests per day cap (for one API). Note that your implementation may use multiple billable APIs, so adjust your equation as needed. Remember, a $200 USD Google Maps Platform credit is available each month, so be sure to factor that into your calculation.
Here's the pricing for the Directions API.
Hope you find it helpful and good luck on your project.
Related
I was using Places API in my android app, recently Google said it's going to deprecate so I migrated to new version, but now it's decreasing from my credit (see attached image).
What is difference between Places API & Place API for Android?
I found Place API for Android is free and it's not charging me.
Is the latter one still active or it's going to deprecate?
Generally how can I have Google Places Auto Complete for free?
Google has revised their pricing for Places API. Now nothing is free
First up, I hope you know that you can bump your Places API quota from 1,000 queries/day up to 100,000 queries/day just by verifying your identity? This doesn't cost anything. And if even 100,000 QPD are not enough, you can purchase a Google Places API for Business license.
But to actually answer your question, I'm not aware of any alternative that's both good and unlimited. The main competitors with worldwide coverage are:
Foursquare Venues, which is limited to 5,000 queries/hour. Here's a
lengthy point-by-point comparison of the two.
Factual's Global Places, limited to 10,000 queries/day.
I'm trying to create a speed limit guide app (city-wide coverage). I've been researching and I found out that to access speed limit data in Google Maps API, you need to subscribe to a premium plan and access the speed limit data via Roads API. I'm just wondering if there are other ways to do a speed limit app that automatically adjusts depending on where the user is currently? Maybe hard code that if the user is somewhere between these 2 points on the road, its speed limit is etc. or an alternative map, I'm not really sure.
Hoping for your kind response, thanks.
I've noticed Google has had this feature for about a year now but I don't see it on Google Places API. If you look up a library or a gym near you, Google will show how long people typically spend at the place (like a gym nearby me, "People typically spend 45 min to 1 hr here.") Is there any way to get this information on Google Places API or is it not available yet?
You are right this information is not available via Places API yet. I can see that people have already filed a feature request for this in the Google issue tracker:
https://issuetracker.google.com/issues/35830308
I would suggest staring the feature request to add your vote and subscribe to further notifications. Hopefully one day Google will implement this feature in the API.
As far as I recall, Google Places API currently does not have any functionality to provide that information. You may consider filling a feature request through Google Code. Alternatively, I'd advise to simply look up the place (in your app, that is) and parse the typical visit duration manually. There are many drawbacks to this solution depending on the method you're gonna use (such as the layout of the page may change and your app will stop working, requiring an immediate update), but it's an option.
Sorry if the question is so basic I am new to android and programming.
I am going to make an app, in this app I need to show locations or maybe even directions in map lots of time. It is very likely, an interested user see the map more than 20 times in a row in just one time lunching the app.
I choose to use google map api for this application, but I saw in their website you have to pay money if your app use map more than 25000 a day and it is likely to happen if I have more than 2000 active users easily, but I am not sure I can make money with this app or not; so I have 2 choose and I am not sure about one of them:
1- using intent to show geo on an external app like google map but does it cost that money or not? (thats my main question)
2- using another api like http://www.openstreetmap.org/ or http://leafletjs.com/
Which option do you recommend? And if that's the option 2, which api do you recommend and why?
Note that the program work base on website and its data base and that website gonna have same functionality as the app and it need to use that api, site gonna use drupal-8 probably but not 100 percent sure yet.
I googled for the answer but I didnt get the answer.
1) if you do an explicit intent to maps this way https://developers.google.com/maps/documentation/android-api/intents you have nothing to pay, it's an intent not an API call, in fact you don't need api key to do that.
2) I've used openstreetmap in the past, it's not difficult, but maybe it depends on your skill.
If you are really new, I suggest you to use intent. You can always switch to openstreetmap when you become more confident!
If you want to see an example with openstreetmap in my github I have a project fell free to look at the code if this helps you https://github.com/doJester13/Indoor-GPS
For Android, your users can do 150 000 Google Places requests per day, if you Enable Billing with your credit card on Google (That doesn't cost, just verifies your identify). The Maps API is completely free
By the time you have so many users that they use all the map requests, you can probably afford it.
Source: https://developers.google.com/maps/pricing-and-plans/#details
I am trying to build an Android application that relies on Google Maps for the mapping functionality. Google Maps API FAQ mentions that the maximum number of requests are 25000 map loads per day for each service.
As i have just one key for development and am hoping that the app will be used by at least a few hundred people i want to make sure that i understand the limits correctly.
Is the maximum limit associated with my key and hence the sum of all request made by all applications or is it for each app on every independent device.
It seems that it is for all applications that use your key combined, but per Google service:
FAQ Google
So if you have three apps that all have 200 users that use the apps two times a day, then it would be 2*200*3 = 1200 map loads per day on your API key. And this is the value that should not exceed the maximum number of map loads set by Google.