Skip to content Skip to sidebar Skip to footer

Google Ads Can t Complete Your Request Right Now Please Reload This Page to Try Again Error

Google Maps Platform FAQ

Getting Started

  • What is the Google Maps Platform?
  • How practice I go started with Google Maps Platform?
  • Which API practise I demand?
  • How practise I start using the APIs on my site?
  • Which countries does the Google Maps Platform cover?
  • Tin can I put Google Maps on my site without using Google Maps Platform products?
  • How practice I deliver Maps applications on mobile devices?
  • Which spider web browsers practise the Maps JavaScript API and Maps Embed API support?
  • Can I print maps from the Maps JavaScript API?
  • How can I be notified when in that location are changes to Google Maps Platform products?
  • How practice I contact technical back up?
  • When is technical back up available?
  • How do I recover access to my Google Account?
  • How exercise I recover access to a specific project?
  • Can I use the Maps and Places SDK for iOS on Arm-based Macs?

Understanding the terms of service

  • What are the terms of service for Google Maps Platform products?
  • Does my site meet the Google Maps Platform Terms of Service?
  • Can I directly access map tiles and satellite imagery?
  • Tin can I employ Google Maps Platform products for tracking applications?
  • Can I use Google Maps Platform products in my non-Web application?
  • Can I use Google Maps Platform products on a site that is password protected?
  • Can I create an application that includes Google Maps Platform data in a document?
  • How can I opt out of including my content in Google search results?
  • Can I generate a map image using the Maps Static API which I shop and serve from my website?

Usage limits and billing

  • How do I set up billing for my project?
  • How practise Google Cloud Platform Free Tier customers upgrade to a paid account?
  • Does the Google Maps Platform take usage limits?
  • How is usage cost calculated?
  • How are map loads counted on the Google Maps Platform?
  • How practice I monitor my quota usage?
  • What happens if I exceed the usage limits?
  • My site gets a lot of traffic. Tin I use Google Maps Platform products?
  • If my web site or awarding becomes suddenly popular, will my maps stop working?
  • How will usage be calculated and billed?
  • How much does it price to utilize the Google Maps Platform?
  • Is pricing available in other currencies?
  • I've set upward billing. How do I view my bill?
  • How do I avoid a big pecker if my usage unexpectedly increases?
  • I got a message proverb that my projection is linked to the "Google Maps Platform Transition Business relationship", but I don't have access to that business relationship. What do I practice?
  • Why is my quota limit set to 1 request per twenty-four hours? How can I raise this limit?
  • I received a billing violation notice. How do I resolve this?

Using the Google Maps Platform

  • Which keys or credentials should I use for different Google Maps Platform products?
  • How do I switch my key restriction type from an HTTP referer to an IP address restriction?
  • How do I get a new API key?
  • How can I notice the changes introduced in each version of the Google Maps Platform?
  • How can I load the API into a page asynchronously after the folio has loaded?
  • How can I get Google Maps Platform products to brandish in a language other than English?
  • Can the Google Maps Platform be accessed over SSL (HTTPS)?
  • How do I report a problems or request a new feature in the Google Maps Platform?
  • How do Google Maps Platform APIs use site cookies?
  • I can't notice the answer to my question. Who should I contact?

Errors and troubleshooting

  • What does this fault mean?
  • My maps appear darker than usual. What's happening?
  • How practice I resolve the mistake codes OVER_DAILY_LIMIT or OVER_QUERY_LIMIT?
  • How exercise I resolve the error codes: kGMSPlacesRateLimitExceeded or 9005 PLACES_API_RATE_LIMIT_EXCEEDED?
  • How do I resolve the error: "This IP, site or mobile application is non authorized to use this API cardinal."?
  • How do I resolve the mistake: "API keys with referer restrictions cannot exist used with this API."?

Google Maps Platform Services

  • I need to convert addresses to breadth/longitude pairs. Can I do that with the Google Maps Platform?
  • Which countries is geocoding bachelor in?
  • Why do the Google Maps Platform Geocoders provide different locations than Google Maps?
  • How should I format my geocoder queries to maximise the number of successful requests?
  • How should I format a U.S. address on a numbered highway for geocoding?
  • When should I use an API geocoder course and when should I use the HTTP Geocoding Service?
  • How do I provide driving directions with the Google Maps Platform?
  • In which countries are driving directions available?
  • In which countries are transit directions available?
  • Which KML and GeoRSS features are supported in the Maps JavaScript API?
  • What are the limits on the size and complexity of KML that can be displayed using the KmlLayer course of the Maps JavaScript API?
  • How do I render KML files that are hosted on intranet sites on a map?
  • What is the maximum number of markers or path vertices supported past the Maps Static API?
  • Why can't I access Google Maps Platform products for certain countries?
  • How practise I report a problem on the Google basemap?
  • How is operation monitored for the services used with Maps JavaScript API?

Maps JavaScript API

  • How long will the Maps JavaScript API work after it has been loaded?

Google Maps SDK for iOS

  • In Xcode 12, apps practise not build correctly for the simulator. How can I fix this?
  • How exercise I resolve the fault: kGMSPlacesRateLimitExceeded?
  • I'thou getting crashes when debugging with an iOS 8.x device. What should I do?
  • What's the affect of rounded and wider screens on the Google Maps iOS SDK?

Google Maps SDK for Android

  • How do I resolve the error: 9001 Operation failed due to exceeding the quota usage limit?
  • My app merely shows bare greyness tiles instead of a map. How tin can I resolve this?

URL signing

  • Can I sign URLs using JavaScript?
  • Why am I receiving a HTTP 403 Forbidden response to my Maps API web service requests?

Getting Started

What is the Google Maps Platform?

The Google Maps Platform is a set up of APIs and SDKs that allows developers to embed Google Maps into mobile apps and spider web pages, or to retrieve information from Google Maps. There are several offerings. Depending on your needs, you may find yourself using one or a combination of these APIs and SDKs:

Maps:

  • Maps JavaScript API
  • Maps SDK for Android
  • Maps SDK for iOS
  • Maps Static API
  • Street View Static API
  • Maps URLs
  • Maps Embed API

Routes:

  • Directions API
  • Distance Matrix API
  • Roads API

Places:

  • Places API
  • Places SDK for Android
  • Places SDK for iOS
  • Places Library, Maps JavaScript API
  • Geocoding API
  • Geolocation API
  • Time Zone API
How do I get started with Google Maps Platform?

See Become Started with Google Maps Platform.

Which API practise I need?

For aid in finding the right API based on your functional requirements, take a wait at the API picker.

How do I start using the APIs on my site?

Run into the Overview, Developer, and Get Started guides for the specific API or SDK you are interested in. For example, check out the guides for Maps SDK for Android or Maps JavaScript API.

Which countries does the Google Maps Platform comprehend?

The Google Maps team is constantly pushing new map data out and increasing our international coverage. Consult the Google Maps coverage data for the latest coverage data. You can filter the data with the filter box at the top of the page. Please note that coverage data can change if licensing agreements with the data providers change.

Likewise see:

  • How tin I get Google Maps Platform products to display in a language other than English?
  • In which countries are transit directions available?
Tin can I put Google Maps on my site without using Google Maps Platform products?

Yes. Google Maps now offers the ability to embed the map that you're viewing into your website or weblog, without any programming or apply of the Google Maps Platform. More information is available here.

How do I deliver Maps applications on mobile devices?

To incorporate maps in an Android application, use the Maps SDK for Android.

To comprise maps in a native iOS awarding, use the Maps SDK for iOS.

The Maps JavaScript API has been adult to cater to mobile devices, and is suitable for browser applications targeted at both the desktop and devices that include a web browser with a full JavaScript implementation, such as the Apple tree iPhone.

For applications targeted at devices not suitable for using the Maps JavaScript API, the Maps Static API delivers map images in GIF, JPG, and PNG formats, including markers and polylines. Annotation that use of the Maps Static API outside of browser based applications requires that the map prototype be linked to Google Maps.

Which web browsers do the Maps JavaScript API and Maps Embed API support?

The Maps JavaScript API and Maps Embed API back up the post-obit spider web browsers:

Desktop
  • The current version of Microsoft Edge (Windows)
  • The current and previous versions of Firefox (Windows, macOS, Linux)
  • The current and previous versions of Chrome (Windows, macOS, Linux)
  • The current and previous versions of Safari (macOS)

In lodge to free up resources to deliver customer-requested features available to modernistic browsers, Google Maps Platform is ending support for Cyberspace Explorer 11. Microsoft concluded support for IE11 in 2022 and encouraged migration to Microsoft Border.

Start in August 2021, a warning message started to appear to Internet Explorer 11 users at the top of maps. The concluding version of the Maps JavaScript API to support Net Explorer xi is v3.47. Back up for Internet Explorer xi will exist entirely discontinued in November 2022. This too applies to the IE fashion in Border.

Android
  • The current version of Chrome on Android 4.one+.
  • Chrome WebView on Android 4.4+.
iOS
  • Mobile Safari on the current and previous major versions of iOS.
  • UIWebView and WKWebView on the current and previous major versions of iOS.
  • The current version of Chrome for iOS.
Can I print maps from the Maps JavaScript API?

Press from the Maps JavaScript API is non supported. This is because printing support is inconsistent across commonly used browsers.

How can I exist notified when in that location are changes to Google Maps Platform products?

You should subscribe to the Google Maps Platform Blog for news updates beyond the various Google Geo developer offerings.

How do I contact technical support?

See Google Maps Platform Back up and Resources for information about available support options.

When is technical support bachelor?
The back up squad is available 24x5 (weekdays from Mon 9 a.m. Tokyo time to Fri 5 p.g. Pacific time) excluding regional holidays for "service unusable" issues.
How tin can I recover access to my Google Account?

If you lost access to your Google Account (e.k. joe@mycompany.com or joe@gmail.com), you lot tin try restoring the account access past retrieving or resetting your countersign. Visit the How to recover your Google Business relationship or Gmail article in Google Business relationship Help.

  • Annotation: To restore access to a Chiliad Suite account, ask your Organization admin to undelete the business relationship.
How can I recover access to a specific project?

If you lost admission to the project where you lot manage your Google Maps Platform implementation, you tin try to recover information technology.

If you have admission to your project-associated Google Account:

  • If y'all know the Project Possessor and accept access to your Google Account: Ask the Projection Possessor to add yous as a Projection Possessor or Projection Editor.
    • If your projection is office of an System: Contact your Organization admins and enquire them to add together you lot as a Projection Owner.
  • If yous do not know whatever of the electric current Project Owners: If y'all don't know who the Project Owner is, or the Projection Possessor is unavailable, contact the support team to explore additional options to recover the projection.

If y'all do non have access to your project-associated Google Account:

  • If you lost access to your Google Account: try to recover your username or countersign for your account.
  • If yous cannot recover access to your Google Account: Create a new Google Business relationship, then contact an existing project owner and ask them to add together your new Google Account to the project.
Can I use the Maps and Places SDK for iOS on Arm-based Macs?

Developing on the new Arm-based Macs is possible, notwithstanding, it requires building and running on a physical iOS device. This is a temporary limitation while we look into adding more support for developing on simulators.

Understanding the terms of service

What are the terms of service for Google Maps Platform products?

The Google Maps Platform Terms of Service are available at:

https://cloud.google.com/maps-platform/terms

Does my site meet the Google Maps Platform Terms of Service?

You lot can use the Google Maps Platform within your applications as long every bit your site meets the Google Maps Platform Terms of Service.

However, there are some uses of the Google Maps Platform that we only don't want to run across: maps that identify the places to buy illegal drugs in a city, for instance, or any other illegal activity. We also respect people's privacy, so the Google Maps Platform shouldn't be used to identify individual information about individuals.

You should use your ain counsel to determine whether your awarding complies with the Google Maps Platform Terms of Service earlier you develop and launch it. Google engineers tin only offer technical assistance and are non qualified to offer legal communication. Google reserves the right to suspend or terminate your use of the service at any time, so delight read the Maps APIs Terms advisedly.

Can I directly access map tiles and satellite imagery?

Yous may not access map tiles or satellite imagery through any machinery besides the Google Maps Platform (such as the creation of your ain mapping API or the use of a bulk tile download script). Your application'due south access to the tiles will be blocked if information technology accesses them outside of the Google Maps Platform. Come across the Google Maps Platform Terms of Service for more details.

Can I use Google Maps Platform products for tracking applications?

There is no restriction on displaying real-time data (tracking) with Google Maps Platform products provided that the application complies with the Google Maps Platform Terms of Service.

Can I employ Google Maps in my non-Web awarding?

Yeah, Google Maps Platform products can now be used in non-Web applications, provided that they adhere to the other restrictions of the Google Maps Platform Terms of Service.

The Maps JavaScript API is only supported when run in one of the supported browsers.

Can I use Google Maps Platform products on a site that is countersign protected?

Yep, Google Maps, Routes, Places services can be used with private-access applications. See the Google Maps Platform Terms of Service for more than details.

Can I create an application that includes Google Maps Platform data in a document?

If your application generates a certificate, either in electronic or printed form, no information from Google Maps Platform, including images, may exist included in the document. Please run across the Google Maps Platform Terms of Service "No Scraping" section for more than details.

How can I opt out of including my content in Google search results?

We are no longer collecting this information. The use of the indexing parameter has been deprecated and has no effect. Yous no longer need to opt out explicitly, but we encourage you to remove this parameter at your earliest convenience.

To remove your page or site from search results, follow the instructions provided in our webmaster aid middle.

Tin I generate a map paradigm using the Maps Static API which I store and serve from my website?

You may non store and serve copies of images generated using the Maps Static API from your website. All web pages that require static images must link the src attribute of an HTML img tag or the CSS background-image attribute of an HTML div tag directly to the Maps Static API so that all map images are displayed within the HTML content of the web folio and served directly to end users by Google.

Usage limits and billing

How exercise I set up billing for my project?
See Get Started with Google Maps Platform.
How do Google Cloud Platform Complimentary Tier customers upgrade to a paid business relationship?
The Google Cloud Platform Free Tier program provides customers a no-accuse trial with a $300 credit to employ with whatever Google Cloud Platform (GCP) service, including the Google Maps Platform (GMP) APIs. When the no-charge trial ends, yous must upgrade to a paid account to continue using these services. To upgrade to a paid business relationship, visit the Deject Console.
Does the Google Maps Platform accept usage limits?

At that place are no maximum daily limits on the number of requests y'all can make to Google Maps Platform products, and the only usage limits are related to the maximum number of queries per second (QPS). (For Distance Matrix, the limit is set in events per second (EPS) calculated as the sum of client-side and server-side queries.) The following table shows the usage limit for each API.

API Usage limit
Directions 50 QPS
Distance Matrix chiliad EPS
Elevation 100 QPS
Geocoding fifty QPS
Geolocation 100 QPS
Dynamic Maps 500 QPS
Static Maps 500 QPS
Street View Image API 500 QPS
Time Zone 500 QPS
Places (except for mobile) 100 QPS
Roads 500 QPS

In order to govern expenditures, you tin can monitor your API usage, and set daily limits to all requests to any billable API.

Google Maps Platform products must be deployed in compliance with the standard Google Maps Platform Terms of Service.

How is usage cost calculated?

For an overview of pricing for the Google Maps Platform products, please see the Pricing Sheet.

To learn more near how Google Maps Platform APIs are billed, delight see Understanding billing for Maps, Routes, and Places.

How are map loads counted on the Google Maps Platform?

A unmarried map load is charged when whatsoever of the following occur:

  • A web page or application displays a map using the Maps JavaScript API.
  • An application requests a single map image from the Maps Static API.

Street View panoramas are charged separately from map loads:

  • A static Street View panorama is charged for each request to the Street View Static API to embed a static (non-interactive) Street View panorama.
  • A dynamic Street View panorama is charged for each instantiation of a panorama object in a Maps JavaScript API, Maps SDK for Android, or Maps SDK for iOS application.

After a web page or application loads a map, or a static map image, or a Street View panorama, any user interactions with information technology, such as panning, zooming, or switching map layers, practice not generate additional map loads or affect usage limits.

Calculation a marker will not generate additional map loads, but may generate charges around how the pin location was determined (such every bit loading or reloading the `google.maps.Map()` class.)

How do I monitor my usage?

You tin monitor the usage of individual APIs in the Google Deject Console.

  1. Select the project that contains the API you desire to review.
  2. From the listing of APIs on the Dashboard, click the name of the API.
  3. Well-nigh the top of the page, click Metrics or Quotas.

To run across a traffic report and billing information for an entire project, follow these steps:

  1. If you haven't already done then, set up billing.
  2. Become to the Cloud Console billing page.
  3. Select a projection.
  4. In the left sidebar, click Reports. Use the filters on the right sidebar to view reports on your billing account.

To learn more, encounter Google Maps Platform Reporting equally well as Monitoring your API Usage and Capping API Usage.

What happens if I exceed the asking charge per unit (QPS) limits?

If you exceed the QPS limits of a given Google Maps Platform product, the API volition return an fault message. If y'all repeatedly exceed the limits, your access to the API may be temporarily blocked.

If you exceed the request QPS limits or otherwise corruption the service, requests will render a specific mistake message. If you go on to exceed limits, your access to the Google Maps Platform may be blocked.

Note: 4 of the spider web service APIs take an equivalent client-side service available in the Maps JavaScript API: Directions, Distance Matrix, Elevation, and Geocoding.

Usage limits exceeded

If yous exceed the usage limits you will get an OVER_QUERY_LIMIT status code as a response.

This means that the web service will stop providing normal responses and switch to returning only status lawmaking OVER_QUERY_LIMIT until more than usage is allowed over again. This can happen within a few seconds, if the error was received considering your application sent likewise many requests per second.

If yous regularly exceed your QPS usage limits, consider lowering usage, by optimizing applications to use Google Maps Platform products more than efficiently. Meet the Optimization Guide for more information.

My site gets a lot of traffic. Can I use Google Maps Platform products?

Yep. However nosotros recommend that y'all familiarize yourself with the usage limits for any of the Google Maps Platform that your application relies on.

Once you have a billing account, if you exceed the no-charge, $200-monthly usage limit and you practice not take a valid payment method on your billing account (credit bill of fare, bank transfer, ...), the API ceases to function until you add a valid payment method.

How will usage exist calculated and billed?

Usage is calculated at the terminate of each twenty-four hours, and priced as shown in the Pricing Sheet. At the finish of every month, the total usage is charged to the payment method associated with your billing business relationship. For more information, meet Google Maps Platform Billing.

How much does information technology toll to apply the Google Maps Platform?

See the Pricing Sheet for an overview of toll per API. If your awarding generates requests or map load volumes below the complimentary $200 per month usage, your usage is not charged. Usage that exceeds the $200 monthly credit volition be charged to your billing account. For more details, see our guide to understanding Google Maps Platform billing.

Is pricing available in other currencies?

Boosted currencies may be available within the panel. When you select a different currency, rates volition convert from the USD equivalent listed on our Pricing Sheet.

I've set up billing. How practice I view my pecker?

Google charges you at the get-go of each calendar month for the previous calendar month'southward activity, using your specified payment method. For details near your bill, meet our guide to understanding Google Maps Platform billing.

Additional resource:

  • Learn how to view your cost and payment history.
  • Learn how to get an invoice or payment receipt.
  • Acquire how to set and manage billing alerts.
How practice I avert a large neb if my usage unexpectedly increases?

The Google Maps Platform provides ways to set daily request limits and set maximum daily billable limits. You lot tin can cap the maximum daily limit on usage to protect confronting unexpected increases. You can also prepare budget alerts to receive email notifications when the charges on the billing business relationship reach a threshold you set.

Capping the maximum daily billable limit:

To avert a big bill, you can gear up a daily cap on usage to protect confronting unexpected increases in utilize. You lot can change this limit in the Deject Console past taking the post-obit steps:

  1. Go to the APIs & Services Dashboard.
  2. Select a projection if prompted.
  3. Select an API from the list, then click the Quotas tab.
  4. Click the edit icon next to the "requests per 24-hour interval" quota.

Alternatively, you can edit multiple quotas for multiple APIs using the IAM & admin Quotas dashboard.

Setting and managing budget alerts:

Set up upkeep alerts to transport email notifications to billing administrators when the charges on the billing account reach a threshold yous set. Billing administrators volition be sent email notifications when the estimated charges on the billing account exceed l%, 90%, and 100% of the threshold.

I got a bulletin saying that my projection is linked to the "Google Maps Platform Transition Account", simply I don't have access to that account. What do I do?

The "Google Maps Platform Transition Account" was created to assistance certain customers transition to our new pay-as-yous-go pricing plan. This transition account enabled Google to provide these customers with a former credit, so that they could continue using Google Maps Platform up to the limit of the $200 no-accuse tier. Once this limit is exceeded, the billing account will shut down and yous will lose access to the service. To avert service interruptions, we urge yous to gear up your own billing account, and proceed to enjoy the $200 monthly no-charge tier. To change the billing business relationship for your project:

  1. Create a new billing account (if you already accept a billing account, you can skip this pace).
  2. Acquaintance the billing account with your projection.
Why is my quota limit set to 1 asking per day? How tin I heighten this limit?

If you take not created and attached a billing account to your projection, your Maps Platform APIs volition exist limited to 1 request per mean solar day. You can get higher quota by creating and attaching a billing account. To do this, encounter Get Started with Google Maps Platform.

Once you have created and fastened a billing account, your daily quota limit volition be removed. You can decide to fix a limit to forbid unexpected spend, in the Cloud Console.

I received a billing violation notice. How do I resolve this?

You have received this notice because Google has determined that your account has been using multiple billing accounts. This is a violation of Google's terms, every bit defined in section 3.2.4 of the Google Maps Platform Terms of Service. Under these terms, it is forbidden to create multiple billing accounts. To larn more, run across the Billing Account Violation FAQ.

Using the Google Maps Platform

Which keys or credentials should I use for dissimilar Maps products?

Each time y'all use Google Maps Platform products, you must include an API key to validate your request. The Google Maps Platform is available for Android, iOS or Spider web apps, and via HTTP web services.

API Fundamental:

  • An API key is a unique identifier that y'all generate using the Cloud Console.
  • Example of loading an API with a cardinal: &key=AIzaSyBjsINSH5x39Ks6c0_CoS1yr1Mb3cB3cVo

Digital Signature:

  • A digital signature is generated using a URL signing secret provided to y'all past Google. Digital signatures are used with the Maps Static API and Street View Static API.

Restrictions:

  • API key restrictions are optional, but we strongly recommend yous restrict all API keys for greater security. See API security all-time practices for more details.
  • You lot can add an awarding restriction to the API key. In one case restricted, a key will only work on platforms that support that blazon of restriction. 4 types of application restrictions are available. APIs enforcing the same brake type can use the same restricted primal.
    • IP addresses (individual servers) - for use with the web service APIs.
    • HTTP referrers (web sites) - for employ with the web APIs.
    • Android app restriction (by package name and fingerprint) - for use with the Maps SDK for Android.
    • iOS app restriction (by iOS bundle identifier) - for use with the Maps SDK for iOS.
  • You can as well add an API restriction to the API key. For more data, encounter Get, add, and restrict an API key.

The tabular array below indicates the key/credential and application restriction for each Google Maps Platform API/SDK.

API/SDK Credential & Application Restriction
Maps SDK for Android API key with Android restriction1
Places SDK for Android API fundamental with Android brake1
Maps SDK for iOS API key with iOS restrictionane
Places SDK for iOS API key with iOS brake1
Maps JavaScript API API key with HTTP referer restrictioni
Maps Static API API key with HTTP referer restriction1 + Digital Signaturetwo
Street View Static API API fundamental with HTTP referer brake1 + Digital Signature2
Maps Embed API API fundamental with HTTP referer restriction1
Directions API API key with IP accost brake1
Distance Matrix API API key with IP address restriction1
Meridian API API key with IP accost restrictionone
Geocoding API API key with IP accost restriction1
Geolocation API API fundamental with IP address restriction1
Roads API API key with IP address restriction1
Time Zone API API cardinal with IP accost brakei
Places API API central with IP address restrictionane

1 API cardinal restrictions are optional, but nosotros strongly recommend you restrict all API keys for greater security.

2 Depending on usage, a digital signature may be required for the Maps Static API and Street View Static API. Regardless of usage, we strongly recommend that you use both an API key and a digital signature to authenticate your requests.

How exercise I switch my key restriction type from an HTTP referer to an IP address brake?

Important: If y'all are using any of the spider web service APIs with an API key that has referer restrictions, your requests will fail with the fault message: "API keys cannot have referer restrictions when used with this API." You lot should switch to using an API key with IP address restrictions.

Before you switch the API cardinal restriction type from HTTP referer to IP address, ensure that all the APIs that utilize the API fundamental support the IP brake blazon. APIs of the same brake type can utilize the same restricted key. If you need to enforce more than ane restriction, add a split key with the required brake. See how to add together a new API fundamental.

Learn more almost API cardinal restrictions associated with Google Maps Platform products.

To switch an API key with HTTP referer restriction to IP address restriction, do the following:

  1. Go to the Credentials folio of the Cloud Console.
  2. Select the project that contains the API key you want to edit.
  3. On the Credentials page, from the list of API keys, select the proper noun of the API primal to edit the details of the key.
  4. In the Key restriction section of the page, select "IP addresses (web servers, cron jobs, etc.)" and insert the appropriate server IP addresses, and then click Save.
How do I get a new API key?
Run into Go Started with Google Maps Platform.
How tin I discover the changes introduced in each version of the Google Maps APIs?

Version modify information for many of the Maps APIs are available at the following links:

  • Maps JavaScript API
  • Directions API
  • Distance Matrix API
  • Maps SDK for Android
  • Places SDK for Android
  • Maps SDK for iOS
  • Places SDK for iOS

You lot can also check which version of the Google Maps Platform a detail bug was introduced and fixed in using the Google Maps Platform Issue Tracker at:

https://issuetracker.google.com/bookmark-groups/76561

How can I load the API into a page asynchronously after the page has loaded?

Just specify the callback parameter when loading the API. More than information and sample code can exist found in the Getting Started chapter of the Maps JavaScript API documentation.

How tin I become Google Maps Platform products to brandish in a language other than English?

By default the API will attempt to load the virtually appropriate language based on the users location or browser settings. Some APIs allow you lot to explicitly set a linguistic communication when you make a request. More information on how to set the language is bachelor in the documentation for each API:

  • Maps JavaScript API
  • Geocoding API
  • Directions API
  • Distance Matrix API
  • Places API
Supported Languages:

Google frequently updates supported languages. This list may not be exhaustive and is discipline to modify.

Language Code Linguistic communication Language Lawmaking Linguistic communication
af Afrikaans ja Japanese
sq Albanian kn Kannada
am Amharic kk Kazakh
ar Arabic km Khmer
hy Armenian ko Korean
az Azerbaijani ky Kyrgyz
eu Basque lo Lao
be Belarusian lv Latvian
bn Bengali lt Lithuanian
bs Bosnian mk Macedonian
bg Bulgarian ms Malay
my Burmese ml Malayalam
ca Catalan mr Marathi
zh Chinese mn Mongolian
zh-CN Chinese (Simplified) ne Nepali
zh-HK Chinese (Hong Kong) no Norwegian
zh-TW Chinese (Traditional) pl Polish
60 minutes Croatian pt Portuguese
cs Czech pt-BR Portuguese (Brazil)
da Danish pt-PT Portuguese (Portugal)
nl Dutch pa Panjabi
en English ro Romanaian
en-AU English (Australian) ru Russian
en-GB English language (Great Great britain) sr Serbian
et Estonian si Sinhalese
fa Persian sk Slovak
fi Finnish sl Slovenian
fil Filipino es Castilian
fr French es-419 Spanish (Latin America)
fr-CA French (Canada) sw Swahili
gl Galician sv Swedish
ka Georgian ta Tamil
de German te Telugu
el Greek th Thai
gu Gujarati tr Turkish
iw Hebrew britain Ukrainian
hullo Hindi ur Urdu
hu Hungarian uz Uzbek
is Icelandic 6 Vietnamese
id Indonesian zu Zulu
it Italian

Y'all can run into what the map volition look like in any of the languages listed above in this sample awarding.

Can the Google Maps Platform be accessed over SSL (HTTPS)?

The Maps JavaScript API, Maps Static API, and Web Service APIs can be accessed over secure (HTTPS) connections. Please see the documentation for the API concerned for information on how to access the API over SSL.

Notation that the Maps Static API does not support custom icon URLs that use HTTPS; the default icon will be displayed.

How exercise I study a bug or request a new characteristic in the Google Maps Platform?

If you lot experience behavior that you believe may be a bug, please begin by raising it in the relevant forum. This volition allow other developers to validate the issues, and rule out any potential issues with your code.

If y'all wish to request a feature, please also showtime heighten it in the relevant forum to ostend that a solution that meets your requirements is not already available.

Once you have confirmed that yous take identified a new bug, or that your requirements cannot be met by the existing functionality of the Google Maps Platform products, please report your problems or feature request using the Google Maps Platform Effect Tracker.

Before adding a bug or feature asking to the Consequence Tracker please exist sure to bank check that the bug or feature concerned has not already been added. If it has, you can star the issue to register your interest and be notified of updates.

How do Google Maps Platform APIs use site cookies?

Maps SDK for Android and Maps SDK for iOS employ cookies subject to Google's Privacy Policy, such every bit calculating daily and 7-solar day active users and service corruption prevention. These cookies are not associated with whatsoever signed-in Google Business relationship and are not logged with the rest of the information collected from the API calls.

I can't detect the answer to my question. Who should I contact?

Google'southward Developer Relations team maintains a presence on Stack Overflow — a collaboratively-edited question and answer site for programmers. It'south a great identify to ask technical questions about developing and maintaining Google Maps applications. More than information about asking questions on Stack Overflow is available on the Support page.

For all-time results when requesting assist, please keep the following in listen:

  • Search the current discussions. Chances are someone else has experienced a similar issue and found a fix.
  • Submit a link to your site if possible. But post code snippets if the code is not easily viewable online.
  • Provide all relevant data including browser versions, errors, and all other facts that may be useful in troubleshooting this problem.

Errors and troubleshooting

What does this error mean?

If y'all encounter an error while loading or running the Google Maps APIs, delight encounter the following links to find explanations for the error codes:

  • Maps JavaScript API
  • Maps Static API
  • Street View Static API
  • Maps Embed API
  • Elevation API
  • Geocoding API
  • Geolocation API
  • Directions API
  • Distance Matrix API
  • Roads API
  • Time Zone API
  • Places API
My maps appear darker than usual. What's happening?

Under certain circumstances, a darkened map, or 'negative' Street View image, watermarked with the text "for development purposes only", may be displayed. This beliefs typically indicates issues with either an API key or billing. To employ Google Maps Platform products, you must have a billing business relationship and all requests must include a valid API key. The following period will help troubleshoot this:


How practise I resolve the error codes: OVER_DAILY_LIMIT or OVER_QUERY_LIMIT?
These error codes can exist returned for any of the following reasons:
  • An API key is missing from the request.
  • The provided API key is invalid.
  • The project does not take a billing business relationship attached.
  • A self-imposed usage cap has been exceeded.
  • The provided method of payment is no longer valid (for instance, a credit card has expired).
  • You have exceeded the QPS limits for a given API.

To use Google Maps Platform products, you must have a billing business relationship, and all requests must include a valid API central. To fix this, take the following steps:

  • Prepare a billing account.
  • Go a new API key.
  • Adjust your usage cap to increase your daily limit (if applicative).
How do I resolve the error codes: kGMSPlacesRateLimitExceeded or 9005 PLACES_API_RATE_LIMIT_EXCEEDED?
If y'all are seeing kGMSPlacesRateLimitExceeded or 9005 PLACES_API_RATE_LIMIT_EXCEEDED, you lot may be using a deprecated version of the Places SDK for Android or Places SDK for iOS. Learn more and find the new SDKs at https://goo.gle/places-sdk-deprecation.
How do I resolve the error: "This IP, site or mobile application is not authorized to utilise this API key."?

There are various scenarios which may cause this mistake:

  • You've enabled IP address (server) restrictions on your API key, and an unauthorized IP accost is attempting a request.
  • Y'all've enabled HTTP referrer (website) restrictions on your API key, and an unauthorized referrer is attempting a asking.
  • Y'all've restricted usage to your Android apps by setting a package name and fingerprint, and an unauthorized Android app is attempting a request.
  • You lot've restricted requests from iOS apps by specifying bundle identifiers and an unrecognized iOS app is attemting to send a request.
  • It used to be possible to get this error if you used any of the spider web service APIs, with an API primal with HTTP referer restrictions. Requests to those APIs should be identified with an API primal with IP address restrictions. Switch your central restriction type from an HTTP referer restriction to an IP address brake. For more data most restricting API keys, see API Cardinal Best Practices.

View and Edit your API Fundamental Credentials

To view your API keys and manage any restrictions, practise the post-obit:

  1. Go to the Credentials folio of the Deject Console.
  2. Select the project that contains the API key yous want to review.
  3. To view credential details, including any restrictions set for the key, from the list of API keys, click the name of the key.
  4. The full credentials of the selected API primal are displayed, including any restrictions set upward for the key. From here, the restrictions tin can be changed, deleted, or updated as needed.
How practice I resolve the error: "API keys with referer restrictions cannot exist used with this API."?

You are using whatever of the web service APIs with an API key restricted to an HTTP referer. For security reasons, web service APIs demand to use API keys restricted to IP addresses. Switch your key brake type from an HTTP referer restriction to an IP accost restriction, or create a new API primal if your key is already used with the Maps JavaScript API.

Google Maps Platform Services

I need to convert addresses to latitude/longitude pairs. Tin can I practice that with the Google Maps Platform?

Yeah, this process is called "geocoding." The Maps JavaScript API includes a grade for performing a geocoding service. The class is: google.maps.Geocoder.

Alternatively, Google as well provides the Geocoding API, which offers a REST interface that can answer in JSON and XML formats.

Which countries is geocoding available in?

To see countries currently supported by the Google Maps Platform geocoders, please consult the Google Maps coverage data.

The accuracy of geocoded locations may vary per country, and then you should consider using the returned location_type field to determine if a good enough friction match has been establish for the purposes of your awarding. Please note that the availability of geocoding information depends on our contracts with information providers, so it is subject to change.

Why practise the Google Maps Platform Geocoders provide different locations than Google Maps?

The API geocoder and Google Maps geocoder sometimes employ dissimilar data sets (depending on the country). The API geocoder occasionally gets updated with new data, so you can wait to see results changing or improving over fourth dimension.

How should I format my geocoder queries to maximise the number of successful requests?

The geocoder is designed to map street addresses to geographical coordinates. We therefore recommend that you format geocoder requests in accordance with the following guidelines to maximize the likelihood of a successful query:

  • Specify addresses in accordance with the format used by the national postal service of the country concerned.
  • Do non specify additional address elements such every bit business names, unit numbers, floor numbers, or suite numbers that are non included in the address every bit defined by the postal service of the country concerned. Doing so may issue in responses with ZERO_RESULTS.
  • Format plus codes as shown hither (plus signs are url-escaped to %2B and spaces are url-escaped to %twenty):
    • global code is a 4 character expanse code and 6 character or longer local code (849VCWC8+R9 is 849VCWC8%2BR9).
    • compound code is a 6 character or longer local lawmaking with an explicit location (CWC8+R9 Mountain View, CA, USA is CWC8%2BR9%20Mountain%20View%20CA%20USA).
  • Employ the street number of a premise in preference to the edifice proper noun where possible.
  • Utilise street number addressing in preference to specifying cross streets where possible.
  • Practise not provide 'hints' such equally nearby landmarks.
How should I format a U.South. accost on a numbered highway for geocoding?

The Google Maps Platform geocoder requires that U.S. numbered highways be specified in addresses as follows:

  • County Roads: "Co Route NNN" where NNN is the road number. eg. "Co Road 82"
  • State Highways: "State NNN" where Country is the total name of the state and NNN is the highway number. eg. "California 82"
  • U.S. Highways: "U.Southward. NNN" where NNN is the highway number. eg. "U.Due south. 101"
  • U.S. Interstates: "Interstate NNN" where NNN is the interstate number. eg. "Interstate 280"
When should I use an API geocoder course and when should I employ the HTTP Geocoding Service?

Run into the document: Geocoding Strategies, which details the pros and cons of different geocoding strategies.

How do I provide driving directions with the Google Maps Platform?

The Directions API allows you to provide driving directions for single and multi-leg journeys. Routing options help you lot shape directions with a travel mode (driving), a single or a gear up of routes, and restrictions (no toll roads). The service is bachelor in the following forms:

  • HTTP request/response interface (used in mobile and other applications) is uniform with Maps SDK for Android and with other Google Maps spider web services. Encounter the Directions API for more than information.
  • JavaScript API, for client-side applications, allows you to provide driving directions via the google.maps.DirectionsService class. The DirectionsRenderer course can automatically create the overlays and directions panel for you. Additional examples are provided in the documentation.
  • Java, Python, go, and Node.js client interfaces, for server-side applications, provide the same functionality. Reference documentation is available at these links: Java Client for Google Maps Services, Python Client for Google Maps Services, Get Client for Google Maps Services, and Node.js Customer for Google Maps Services.
In which countries are driving directions available?

To see countries currently supported by Driving Directions in the Google Maps Platform products, consult the Google Maps coverage information. Please note that the availability of driving directions data depends on our contracts with data providers, and is subject to change.

In which countries are transit directions bachelor?

The Directions API and Altitude Matrix API support all Google Transit partners, except those in Japan.

Which KML and GeoRSS features are supported in the Maps JavaScript API?

The KmlLayer form in the Maps JavaScript API enables developers to overlay KML/KMZ and GeoRSS files on top of the map. Documentation and examples can be found here.

What are the limits on the size and complexity of KML that can be displayed using the KmlLayer grade of the Maps JavaScript API?

The size and complication limits on the display of KML using the KmlLayer class are documented here.

How exercise I return KML files that are hosted on intranet sites on a map?

The KmlLayer form that generates KML overlays in the Maps JavaScript API uses a Google hosted service to retrieve and parse KML files for rendering. Consequently it is not possible to display KML files that are non hosted at a URL that is available publicly accessible, or that require authentication to access.

If y'all demand to develop applications that use KML files hosted on intranet sites we recommend that y'all render the KML on the client side by using third-party JavaScript libraries. As the KML file is analyzed by the browser, functioning may exist lower than by using the KmlLayer class.

What is the maximum number of markers or path vertices supported by the Maps Static API?

There is no limit to the number of markers or path vertices supported by the Maps Static API. When using custom icons, up to five unique icons can be specified per request, but each can be used multiple times within the map.

Annotation that Maps Static API URLs can contain a maximum of approximately 8,192 characters which constrains the number of markers and path vertices that can be specified based on the number of decimal places used when specifying each latitude/longitude pair. For data on how the number of decimal places used relates to the accurateness on the Earth see the Wikipedia article on Decimal Degrees.

Why can't I access Google Maps Platform products for certain countries?

Maps APIs may not exist used in Prohibited Territories. Refer also to the Terms of Service.

How exercise I report a problem on the Google basemap?
Send feedback through Google Maps for wrong or missing map information such equally:
  • Wrong addresses or marker locations
  • Incorrect road names
  • Wrong data about one-manner and two-way roads
  • Incorrectly drawn road
  • Airtight roads
  • Roads that don't exist

For correction of a identify or business concern list, suggest an edit.

If Maps content needs to be removed for legal reasons, submit a legal request.

For disquisitional or time-sensitive requests, file a back up example with specific details on what needs to be fixed.

How is performance monitored for the services used with Maps JavaScript API?

Some client-side features are instrumented to report success or failure for the purpose of computing the SLO (Service Level Objective). This data is sent to Google at maps.googleapis.com/maps_api_js_slo/log in calls that log SLO information. This information includes success condition, latency, and version/channel of the Maps JavaScript API in use. The calls may exist batched for performance. Please notation that you may need to permit maps.googleapis.com in your Content Security Policy to ensure these calls are non blocked at browser-level. For example: Content-Security-Policy: default-src 'cocky' maps.googleapis.com; with HTTP headers, or <meta http-equiv="Content-Security-Policy" content="default-src 'self' maps.googleapis.com;"> with HTML Meta Tags.

Maps JavaScript API

How long volition the Maps JavaScript API work after it has been loaded?

Y'all need to refresh the page that loads the Maps JavaScript API at least in one case every 5 days.

Google Maps SDK for iOS

In Xcode 12, apps do not build correctly for the simulator. How can I gear up this?

To set up this outcome, open your Xcode project Build Settings, and add arm64 to the Excluded Architectures for "iOS Simulator" builds only.

For more than information, see the following StackOverflow thread.

How do I resolve the error: kGMSPlacesRateLimitExceeded?
If yous are seeing this error, you lot may exist using a deprecated version of the Places SDK for iOS. Version 2.7.0 of the Places SDK for iOS has been turned off, and is no longer available. Please update your app to use the latest version every bit presently equally possible. See the migration guide for details.
I'g getting crashes when debugging with an iOS 8.10 device. What should I do?

If you feel issues when debugging with devices running iOS 8.10, follow these steps to disable GPU frame capture in the XCode scheme you are running:

  1. In XCode, choose Product, Scheme, Manage Schemes.
  2. Select a scheme and cull Edit....
  3. Fix the GPU Frame Capture option to Disabled. Annotation that this option may not be present for all devices.
What'south the impact of rounded and wider screens on the Google Maps iOS SDK?

Starting time with the iPhone X, iPhones have a screen shape featuring rounded corners, a notch at the top for the device'southward sensor housing, and an indicator at the lesser of the screen for accessing the Home screen. Equally of iOS 11.0 SDK, Apple added the Rubber Surface area API allowing developers to position elements in an area which is safe from being clipped past the new screen shape.

The Google Maps iOS SDK has many visual elements and controls, such as an indoor picker and the report a problem link. With version 2.iv, these visual elements and controls could exist clipped by the new screen shape. In landscape mode, the indoor floor picker may exist clipped by either the notch or the home button indicator.

With the Google Maps iOS SDK 2.5 release these layout issues are fixed automatically. When your app is used on an iPhone X or afterward, the padding on GMSMapView and GMSPanoramaView are increased so that the visual elements aren't clipped.

By default, nosotros will always include your padding. The Google Maps iOS SDK assumes that padding is intended to pad from inside the safe area. If you design your interface with the supposition that everything is positioned within the safe surface area, this will work without any extra attempt.

If you have designed an interface which doesn't piece of work with our default adjustment, nosotros have introduced a new property to GMSMapView, chosen paddingAdjustmentBehavior. GMSMapView now allows y'all to option from one of three padding adjustments behaviors: 'Always' (default), 'Automatic', and 'Never'.

If GMSMapView is set to use the 'Ever' padding behavior, it will always add the condom area insets to the padding. This allows you to pattern your interface with the assumption that all placement is from the edges of the safety area. This is the default value.

If GMSMapView is set to use the 'Automatic' padding behavior, it will always cull the larger of padding or safe area inset. This volition allow yous to add padding from the screen edge while always ensuring that all elements stay within the safe area.

If GMSMapView is set to employ the 'Never' padding beliefs, information technology will never add together the safe expanse insets to the padding. This is the behavior prior to the 2.5 release and may exist useful if your padding already takes into consideration the safety surface area, or if our other behaviors don't deed well with your interface. Information technology is your responsibility to ensure that the Google logo and copyright notices are e'er visible, as specified in the Google Maps Platform Terms of Service.

In contrast, GMSPanoramaView doesn't take an optional padding property. This means that in that location is no padding to adjust and GMSPanoramaView will always apply any necessary padding to ensure that all visual elements are within the safe area.

Google Maps SDK for Android

How exercise I resolve the mistake: 9005 PLACES_API_RATE_LIMIT_EXCEEDED?
If you are seeing this error, you may exist using a deprecated version of the Places SDK for Android. The Google Play services version of the Places SDK for Android has been turned off, and is no longer available. Please update your app to apply the latest version as soon every bit possible. Encounter the migration guide for details.
My app simply shows blank grey tiles instead of a map. How can I resolve this?

A mutual reason that a blank greyness tiles are shown instead of a map is authentication issues. You lot tin follow the steps beneath to troubleshoot those issues past using adb logcat.

  1. Make sure you have adb installed. If non, you tin can follow the guide here.
  2. Install the app that shows the problem on a device or an Android emulator. If y'all use Android emulator, make sure the emulator settings has Play Shop included.
  3. In Android Studio terminal, run adb logcat -e "Google Maps Android API". This volition only print lines where the log message matches "Google Maps Android API" (Optionally, y'all tin output the log to a text file by appending: > logcat.txt)
  4. Reproduce the outcome on your device and check for common errors such as:
    • The wrong/unintended API Primal is being referenced in Manifest.
    • Billing isn't enabled on Projection.
    • The SDK isn't enabled on project APIs.
    • The incorrect SHA1 fingerprint is added to the API Cardinal restrictions.
    • The Google Play Service dependencies is not included in the build.gradle file.

URL signing

Can I sign URLs using JavaScript?

We strongly recommend against signing URLs using JavaScript as this would betrayal your URL signing secret to cease users. Therefore signatures should simply be generated by server side components.

Why am I receiving a HTTP 403 Forbidden response to my Maps API spider web service requests?

An HTTP 403 response indicates a permission outcome, probable because the signature could not be verified for this request. This could be because:

  1. A signature has been specified but is wrong for this request.
  2. The request specifies a Google Maps Platform Premium Plan an API cardinal simply does non specify a signature, and the service being called requires that requests made using an API key include a valid signature.
  3. A signature has been specified but the associated Google Maps Platform Premium Plan API primal has not been specified.

mooreseesculde1951.blogspot.com

Source: https://developers.google.com/maps/faq

Post a Comment for "Google Ads Can t Complete Your Request Right Now Please Reload This Page to Try Again Error"