Google map on Customers website - google-maps

I have build few websites with google maps before 2012. But in 2012 google have made few changes and I'm confused what procedure should I follow in order to add Google map to new website.
I'm building websites for customers so how should I obtain API key? Everywhere I look there are only answers to questions like "How to add Google map to my website?". I don't want to add map to my website. I want to add map to my customer website.
Every API Key is now linked to google account so I can't use my API key as this may lead to exceed my usage limit.

First of all is not mandantory to obtain a key for your map to function.
In case your app exceeds the usage limits only then you have to take further actions.
If you want to monitor the usage create an account for your customer and obtain a key just for him.

Related

Dynamically set Google Maps API key in Xamarin forms

I am working for a product based company. We are building Xamarin form apps for our customers. We would like to have separate Google Maps API key for our customers. But as per the documentation this can only be done in Manifest files.
We would like to set this key dynamically, as our app is available on Play Store and based on customer, we will decide the key.
Kindly let me know how can we achieve this.
One thing you can do is to have a "tag" for each of the customers and call google analytics at the same time that you are calling the Google Map.. Then you can run a report on Google Analytics based on the tag

Google API key Vs. Google Client ID

One of our customers is using google maps with a "Client ID". We've developed our product using the Google API Key. All of the features of the map are working properly using the API key, but we are unable to confirm that the client will get the same results with the Client ID since we do not have one. Two question, do you believe that the features will work the same using either the API or the Client ID? Second question, how much does it cost to purchase a Client ID?
Client IDs and API Keys are forms of authentication and authorization. There are easy-to-follow guidelines on their proper usage and their limits. Everything you need to know about them can be found in the documentation (also try seeing the docs per product in the 'For more information' section):
https://developers.google.com/maps/premium/overview#authentication_and_authorization
Related SO post and answer about using Client IDs for their Javascript API:
google maps api javascript usage
For pricing, read more about it here:
https://developers.google.com/maps/pricing-and-plans/
EDIT: There has been recent Google Maps Platform pricing and product changes You'll always need an API key and a valid billing account associated to your Project if you want to use the Google Maps Platform APIs. If you've never had a Client ID then you don't need to worry about it, just continue using your API keys.
You may run into some APIs (i.e. Speed Limits API) that seem to need a Premium Plan account. If you really need access to these, simply contact sales using this form.
P.S.
When using API keys, be sure to properly restrict them!

Google Maps API Key - Get one for everyone of my users programmatically?

I saw that one has not to obtain a Google Maps API key if you want to use their maps api in general, only if you want to use their web services and statistics etc.
Now I have two questions regarding this:
If I have a public website which uses the Google Maps API to display a map with default options. How does Google count the API calls if I don't use an API key? (Maybe with the help of the domain which requests the map?)
If they do so and my site exceeds the 25k calls/day, is there a possiblity that my users can login with their Google account on my site and some backend logic will get them an API key from Google that I store e.g. in a database. So I could use the API keys of my users to bypass the API usage limits only for my site.
Assuming you are using the Javascript API v3:
This SO question partially answers your queries.
Have a look at the usage limits, it looks like that you cannot use more than one API key:
Can I use more than one API key to increase my available usage over
the documented limits?
Google reserves the right to withhold access to the Maps API from any site that attempts to use more than the permitted number of map
loads of the Maps API without permission, and fails to respond when
contacted by Google.
Though this may be debatable, to me it seems a bad idea using your user's API key. For sure you need to ask the permission, then you have to monitor their quotas and so on, a minefield...
TL;DR if you exceed constantly the daily quota you should purchase a larger quota.

Google APIs Verification

I am attempting to add a Google maps to a website and allow users to insert their postcode to get directions to my client.
Currently I can't manage to make the map visible, the website although under development IS hosted and I have my own unique api key.
Is there more verification necessary? I read something about meta tags but was unsure how to get a code.
Unless your expecting or are getting more than 25000 hits a day, you don't need an API key for the current version of google maps, so requesting it with http://maps.google.com/maps/api/js?sensor=true should work then use a library like this should get it to work http://code.google.com/p/jquery-ui-map/wiki/jquery_ui_map_v_3_tutorial
Follow that tutorial and you'll have it running in no time.

How to use maps in an app with unlimied domains?

I have an app that's used on many websites and different domains.
Not a low amount like 5-10, more like 200+
And I want to display something like a google map.
Their API key has to be manually requested each time. -We have to avoid this.
Is "Using a Bing Maps Key to access the Bing Maps SOAP Services" a solution?
Or is better to create a single web page on a separate website that displays any map.
It would get the map pin point from a query string. Then display this map using an iFrame.
Looks like eventbrite does that:
http://www.eventbrite.com/googlemap?eid=1885257857&iframe=Y
Bing Maps requires a key per domain, so thats not an easy thing to achieve. You have two options as I see it:
1) Create one map on one domain and share it with all the other sites using and iframe
2) use google maps v3 as that no longer requires api keys and is therefore not locked to a domain