Google Maps API and costs. Beginner question - api

First of all: i am a total beginner, especially with Google Cloud Platform.
I am building a Real Estate website that includes flats that are imported into the CMS via APIs. The flats are uploaded and managed from my client in a dedicated software.
Every flat includes also a map with the flat's position and I need to render it via Google Maps.
The flats (query) are updated every night. There are more than 120 flat that are daily updated.
So far everything fine, Google Maps works properly, but I realized that the costs of the Google Cloud Platform are increasing, drastically.
There is a way I can limit this? I only need to display in front-end (and back-end) the position of the available flats.
Many many thanks in advance!

You can use the Google Maps API for free within your first 90 days of registration. After that, you are billed proportionally to how many requests are sent. You will probably use the Static Maps API if you are just going to load the flat's location. Here is more pricing information.

Related

Is there any service of Map and GPS Logger for IoT Devices as free?(like Azure Maps in Azure IoT Central)

I want to visualization latitude and longitude data taken from IoT Devices.
But I couldn't find service is able to plot GPS log data.
For example, AT&T M2X can visualization and log data that just sensor data (like humidity, temperature, and so on) but it can't visualize map from data.
At last found Azure Maps, but it needs to register the credit card.
If needed to pay for the amount of user data, but I want to start map visualization with no pay option setting first.
I desire service keeps below three points, 1. no need pay option setting first, 2. it can post data from HTTP protocol(GET/POST), 3. any kinds of map type is ok (google map, BingMap, OpenStreetMap, and so on)
I'm sorry that my English is so bad.
I look forward to your reply.
thanks.
Might want to take a look at Data Studio (Google Cloud Platform). To get you started (no money) you should be able to create a spreadsheet with comma separated lat/long values, import it into Data Studio and get a visualization on a map of those positions.
Check it out here.
I know you said being able to post via HTTP is a requirement (makes it harder to use this, but wanted to point it out as it's cool and I just learned about it too.
There's also the Maps API which can do it (I'm actually unsure of how "free" it is, but most of our APIs have free tiers for like, # of requests). This is do-able via HTTP.
Azure Maps is a part of Azure and the credit card is for Azure all up, not just Azure Maps. That said, Azure Maps also provides free monthly usage limits. Also, in Azure you can set a spending limit on your account. After adding your credit card, simply set your limit to 0 and you don't need to worry about paying. If you exceed the free limits, your account will simply stop working until the next month when you get a new set of free limits. Here is some documentation on how to set a spending limit in Azure: https://learn.microsoft.com/en-us/azure/billing/billing-spending-limit

Google maps API usage limits

I have used google map API but unfortunately I have discovered that they have an usage limits so I want to know that are there anyway o get an google map API without any usage limits, and if it is not how can I get any license?
Google maps api usage and limits
Do I need an API key?
Answer: in the early days of google maps you did not require an API key (it is still possible to not have one due to backwards compatibility) however, today, it is recommended that you generate an API key for google maps V3. Also, have in mind that some features are not available without the API key.
If you want to inform your self more about the API key, here is the official page that will tell you how to get started with it and how to include it to your project,
url: https://developers.google.com/maps/documentation/javascript/tutorial
What are the usage limits?
Answer: If your site gets 25 000 map loads or more every single day, for more than 90 days in a row, the google team will get in touch with you (they are well aware of your google maps usage). If however you don't think your google maps will generate such an amount of traffic then do the following:
Modify your application so that your usage is less than 25 000 map loads per day.
Enroll for automated billing of excess map loads in the Google Developers Console.
Purchase a Google Maps API for Work license.
Here is the official page for the limits,
url: https://developers.google.com/maps/documentation/javascript/usage#quota
To sum it all up:
If you can predict huge traffic on your website (and using the google maps API within your website), then once again, read carefully the docs and see what further steps need to be taken, otherwise you can experiment with google maps as much as you want.

Reverse Geocoding with Worklight

I'm currently working on a Worklight Project that deals with location based services. I want to be able to get the ZipCode of an user's current location for the iOS platform specifically. I researched online and there are many ways to approach this. I currently have it implemented using a custom cordova plugin using native location manager features and retrieve the zip code through reverse geocoding. This approach seem like I'm doing it the long way. I noticed that google provides an api call for the reverse geocoding by just supplying the lat and long. However, there is a limit to how many calls you can make.
Users of the free API:
2,500 requests per 24 hour period.
10 requests per second.
Maps for Business customers:
100,000 requests per 24 hour period.
10 requests per second.
This app needs to have no restrictions on how many times it can get the location based on zip code.
Does Worklight have a simpler or better way of getting the zip Code for user's location(I've checked the worklight api reference calls but didn't see anything about retrieving user's zip code)?
Worklight provide a way to implement this by using adapters, but not the API itself. Although you could the adapter to work as something like a local cache of the ZIP you already know.
To save money due to the APIs that would be usually based on a number of calls, we would need to have some cache, database(more likely: CouchDB or mongoDB) to handle this cache of what you already know.
A mobile(app-side) solution + a server side solution. On putting this 2 together, worklight would help you.

Google Maps, Bing Maps, OpenStreetMaps and MapQuest limitation

I'm very confused reading the online term of use of some Online Map Service (like Google Maps, Bing Maps, OpenStreetMaps and Mapquest)...
There is a way to use Google or Bing Maps on a website for non-commercial or commercial pourpose without any daily limitation of request?? What kind of Api I can use for free without any limitation of use or request, if I want to see a map on my site with several point of interest inserted by me??
I have read that in free version of Google or Bing some ads may appear sometimes inside the maps, and I cannot insert in my webpages any ads from another provider different from Google or Bing. It's true?
If I want to use OpenStreetMaps (an opensource Maps Database) or the partner MapQuest, it's true that there aren't any limitations of daily request or appearing ads on the maps or policy of exclusive banner campaign??
But, at the end, If I try to build a portal with this maps, and I want to plan in the future the insertion of some ads and the creation of a little company, I'm doing a commercial or not-commercial use (now and in future)??
Google recently announced new advertising and rate limiting in their terms of service. Websites will be forced to display ads in their maps, or pay for a premium account. Popular websites (resulting in lots of hits of google map tile server) will also need to pay for a premium account. It's not clear if your intended use will trigger those limits.
OpenStreetMap might offer a viable alternative. They do run a map tile server which can be used to embed a slippy map on your website. There is also an open source javascript library called OpenLayers (among other options), meaning that you can be free of google and their ads. OpenStreetMap do however operate a strict tile usage policy to protect the service which is paid for by donations, and run by volunteers.
OpenStreetMap also uniquely offers another approach: Create your own tile server, rendering the raw map data yourself. This might be a sensible option if you run a very popular website, or if you require only a limited area of the world to be shown. It's also really neat because you have full control over rendering style. It's a fairly technical process though ...but
Because this is possible, a number of third parties will offer you a map tile service built using OpenStreetMap data. e.g. MapQuest, CloudMade, TileServer, TileDrawer, or MapBox

Google API Request Limit

Does anyone know where I can find Google API Request Limits for their different services?
On simulating 500+ concurrent users it seems to fail silently fairly often (maybe 1 in 10 loads)
Any ideas?
The information is in their support resources. I am not aware of a central place, but it's all there. Searching the docs for "request limit" should usually do the trick.
The Geocoding API's limits for example can be found here.
Google Maps API Web Services and Google Static Maps API limits were cut effective a few days ago. Starting October 1st 2011 commercial web sites and apps using Google Maps API for free receive:
max of 2,500 calls/day, if modified using Styled Maps feature
max of 25,000 calls/day in total
Fusion tables are preferable to the Google Maps API alone, particularly with respect to rate limits:
Applications using the Google Fusion Tables API can send a maximum of
5 requests per second to the Google Fusion Tables server.
I think they removed the limit recently: can't even find a mention of it in documentation pages where I know for sure that it was mentioned and read about the limit removal somewhere this summer.
Even their new EULA states that their service is not limited but they remain free to limit it however they want at any moment.
500 concurrent users doesn't seem to be that much though, even if limitations where in place; are you sure it's Google what's failing?