Google Maps API

FAQ

Getting Started

Understanding the Terms of Service

Usage limits

Using the Google Maps APIs

Google Maps API Services

Advertising on your Map


What are the Google Maps APIs?

The Google Maps APIs give developers several ways of embedding Google Maps into web pages, and allows for either simple use or extensive customization. There are now several API offerings:

Depending on your needs, you may find yourself using one or a combination of these APIs.

If you operate an enterprise or commercial website, you may also be interested in Google Maps API for Business.

What countries do the Google Maps APIs cover?

The Google Maps team is constantly pushing new map data out and increasing our international coverage. The following spreadsheet shows the latest coverage details. You can filter the spreadsheet with the drop downs at the top (e.g. see all countries with driving directions by selecting "Yes" from that drop down). Please note that data coverage can change if licensing agreements with the data providers change.

Check out the Map Coverage Details Spreadsheet.
Also see: How can I get the Google Maps APIs to display in a language other than English?.

Can I put Google Maps on my site without using the Google Maps APIs?

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

How do I deliver Maps applications on mobile devices?

The Google Maps JavaScript API v3 has been developed 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 iPhone.

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

To incorporate maps in an Android application, use the Android Maps External Library.

To incorporate Maps in a native iOS application, use the Google Maps SDK for iOS.

Which web browsers does the Google Maps JavaScript API support?

The Google Maps JavaScript API v3 supports the following web browsers:

  • For desktop:
    • Internet Explorer 8–10 inclusive (Windows)
    • The current and previous version of Firefox (Windows, Mac OS X, Linux)
    • The current and previous version of Chrome (Windows, Mac OS X, Linux)
    • The current and previous version of Safari (Mac OS X)
  • For Android:
    • Default browser on Android 2.3+ (which is Chrome on 4.1+)
  • For iOS:
    • Mobile Safari on the current and previous major version of iOS
    • Current version of Chrome for iOS

Internet Explorer's Compatibility View is not supported.

Which tools and Flash players does the Google Maps API for Flash support?

The Google Maps API for Flash is supported for stable releases of Flash Player 9 from 9.0.151.0 onwards.

The development tools that are officially supported are Flex Builder 3, Adobe Flash CS3, and the Flex 3 SDK.

How do I start using the Google Maps API on my site?

See the Maps Javascript API documentation for examples and details.

How can I be notified when there are changes in the Google Maps APIs?

You should subscribe to the Google Geo Developers Blog for news updates across the various Google Geo developer offerings.

Each API also has a notification group, that lets you know about changes that may affect your applications, such as new releases. These groups are all listed on the Google Maps API Support page.


What are the Terms of Service for the Google Maps API?

The Terms of Service for the Google Maps API are available at:

https://developers.google.com/maps/terms

The Terms of Service for Google Maps API for Business are available at:

https://www.google.com/enterprise/earthmaps/legal/us/maps_purchase_agreement.html

Does my site meet the Terms of Service for the Google Maps API?

The Maps API is available for all sites that are accessible to consumers without charge. You can use the Google Maps APIs on both commercial and non-profit websites as long as your site meets the Terms of Service.

However, there are some uses of the Google Maps APIs that we just don't want to see: 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 APIs shouldn't be used to identify private information about individuals.

You should use your own counsel to determine whether your application complies with the Terms of Service before you develop and launch it. Google engineers can only offer technical assistance and are not qualified to offer legal advice. Google reserves the right to suspend or terminate your use of the service at any time, so please read the Terms of Service carefully.

If you operate an enterprise or commercial website, you may also be interested in Google Maps API for Business which has modified Terms of Service that may better suit your needs.

Can I access the Maps and Satellite images directly?

You may not access the maps or satellite images through any mechanism besides the Google Maps APIs (such as the creation of your own mapping API or the use of a bulk tile download script). Your application's access to the tiles will be blocked if it accesses them outside of the Google Maps APIs. See section 10.1.1.a of the Google Maps Terms of Service for more details.

Can I use the Google Maps API on a commercial website?

As long as your site is generally accessible to consumers without charge, you may use the Google Maps API. For example, if your website is supported by advertising, it likely falls within the Google Maps API Terms of Service. If you charge people to place information on your map (e.g. to list their homes for sale), but you display this information using the Google Maps API on a free part of your site, you'll also meet the Google Maps API Terms of Service.

However, not all commercial uses are allowed. For example, if your site meets any of the following criteria you must purchase the appropriate Google Maps API for Business license:

  • Your site is only available to paying customers.
  • Your site is only accessible within your company or on your intranet.
  • Your application relates to enterprise dispatch, fleet management, business asset tracking, or similar applications.

Remember, Google reserves the right to suspend or terminate your use of the Google Maps API at any time, so please ensure that you read the Terms of Service carefully.

Can I use the Google Maps APIs for tracking applications?

There is no restriction on displaying real-time data (tracking) with the Google Maps APIs provided that the application is publicly available without charge and otherwise complies with the Terms of Service. For internal-only applications, Google Maps API for Business must be used. See Section 10.9 of the Terms of Service for more information.

Can I use Google Maps in my non-Web application?

Yes, the Google Maps APIs can now be used in Desktop applications, provided that they adhere to the other restrictions of the Terms of Service. Note that in order for a desktop application to be deemed "publicly accessible", there must be a publicly accessible webpage from which it can be downloaded. See Section 9.1 of the Terms of Service for more information.

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

Can I use the Google Maps APIs on a site that is password protected?

Yes, you can, though you should consult the Terms of Service before using the Google Maps APIs on a password protected website. If consumers can easily sign up for a password without charge or if the purpose of the password protected map is to enhance the publicly available map (ie. administration), then your site is likely within the Terms of Service. If this is not the case, you will need to use Google Maps API for Business.

What information must I report to the Google Maps APIs?

Per Section 9.2 of the Terms of Service, developers must report whether their Maps API implementation uses a sensor to locate the user's device on the map. An example of a sensor is the Geolocation module in Gears, which provides a latitude/longitude for a user based on their WIFI/GPS/Cell ID information.

Information is available on reporting use of a sensor in each of the Maps APIs:

Can I use screen shots of a Google Maps API application in printed materials or offline media?

Use of Google Maps imagery in printed materials and offline media is subject to the Permission Guidelines published at:

http://www.google.com/permissions/geoguidelines.html

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

We are no longer collecting this data. The use of the indexing parameter has been deprecated and has no effect. You 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 help center.

What information is sent to Google when I use the JavaScript Maps API?

When using the JavaScript Maps API, the following information is sent to Google:

  • Map size and location for retrieving map tiles and copyrights
  • Addresses for geocoding
  • Direction and Elevation requests
  • Locations around which to search for Places
  • KML when using KmlLayer
Can I generate a map image using the Google Static Maps API which I store and serve from my website?

You may not store and serve copies of images generated using the Google Static Maps API from your website. All web pages that require static map 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 Google Static Maps API so that all map images are displayed within the HTML content of the web page and served directly to end users by Google.


What usage limits apply to the Maps API?

Most websites and applications may use the Google Maps API free of charge. However, if you consistently generate a high amount of traffic, usage limits apply and you will need to pay for extra usage. If your site or application generates 25 000 map loads or more each day, for more than 90 consecutive days, we’ll attempt to get in touch with you to talk about payment. Don’t worry, if you go over the limits, we won't immediately shut off your API access or display error messages on your site.

If you think your website or application will generate high map loads consistently in the long term, you should consider one of the following options:

  • 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 APIs Console.
  • Purchase a Maps API for Business license.

Note: Applications deemed in the public interest (as determined by Google at its discretion) are not subject to these usage limits. For example, a disaster relief map is not subject to the usage limits even if it has been developed and/or is hosted by a commercial entity. In addition, qualifying nonprofit organizations who demonstrate a need for increased geocoding limits or internal usage of the Google Maps API may apply for a Google Maps API for Business license through the Google Earth Outreach grants program.

Please refer to specific questions for a precise definition of what constitutes a 'map load' and for details on pricing.

Which Maps API services are affected by the usage limits?

The Maps API usage limits apply only to the following Maps API services:

The Google Earth API, and native Maps APIs for mobile platforms such as Android and iOS are not affected. Use of the embed feature of Google Maps, and other Google products that offer an embed feature that includes a map, are not affected by these limits.

My site gets a lot of traffic. Can I use the Maps API?

Yes. However we recommend that you familiarise yourself with the Maps API usage limits and the daily limits for any of the Google Maps API Web Services that your application relies on.

You can greatly reduce the risk of being affected by the web service limits by using the relevant JavaScript or ActionScript class for the service concerned where appropriate. For more information, see the article on Geocoding Strategies.

What constitutes a 'map load' in the context of the usage limits that apply to the Maps API?

A single map load occurs when:

  1. a map is displayed using the Maps JavaScript API v3 when loaded by a web page or application;
  2. a Street View panorama is displayed using the Maps JavaScript API v3 by a web page or application that has not also displayed a map;
  3. a SWF that loads the Maps API for Flash is loaded by a web page or application; or
  4. a single request is made for a map image from the Static Maps API.
  5. a single request is made for a panorama image from the Street View Image API.

The degree to which a user interacts with a map once it has been loaded has no impact on the usage limits. Note that the display of a Street View panorama using the JavaScript Maps API v3 by an application that has already displayed a Map using the Maps API on the same page does not incur an additional map load.

Google Maps API for Business applications are limited by page views, which are slightly different than map loads. Please refer to the Maps API for Business FAQ for more information.

No. Your maps will continue to function. In order to accommodate sites that experience short term spikes in usage (eg. a news gathering organisation or a site that briefly goes viral), the usage limits will only apply to a site once that site has exceeded the usage limits for 90 consecutive days.

Why is the Maps API for Flash not visible in the APIs Console?

The Maps API for Flash has been deprecated and will not be added to the APIs Console. The Maps API for Business sales team will contact sites exceeding the usage limits when using the Maps API for Flash to discuss their options.

How will excess usage by a site be calculated and billed?

Excess usage over the usage limit for each Maps API service is calculated at the end of each day. If your site generates excess usage every day for 90 consecutive days we will notify you that you need to respond in one of the following ways:

  • Modify your Maps API application such that the number of map loads generated per day is below the usage limit for each Maps API service that your application uses;
  • Enroll for automated billing of excess map loads in the Google APIs Console; or
  • Purchase a Maps API for Business license

If you chose to enable billing you will need to provide your credit card details. Your excess usage will continue to be calculated at the end of each day, and the total charged to the credit card provided at the end of every month, priced as given below.

How much will excess map loads purchased online cost?

Applications generating map load volumes below the usage limits can use the Maps API at no cost providing the application meets the requirements of the Google Maps API Terms of Service.

If your use of a Maps API service exceeds the usage limits for 90 consecutive days, and you choose to purchase excess map loads online using the Google APIs Console, your excess usage will be charged at the rates shown below for the service concerned. Note that if your site consistently generates a high volume of map loads per day a Maps API for Business license may be more cost effective and we recommend that you contact the Maps API for Business Sales team for more information.

Service Usage limit
(per day)
1,000 excess map loads
(in U.S. dollars)
JavaScript Maps API v3 25 000 $0.50
Static Maps API 25 000 $0.50
Street View Image API 25 000 $0.50

Excess map loads will not be offered online for the Maps API for Flash. Sites using the Maps API for Flash and exceeding the usage limits should migrate to the JS Maps API v3, or purchase a Maps API for Business license.

Note that the purchase of excess map loads online does not confer any additional rights or benefits other than the right to continue using the Maps API under the existing Terms of Service.

Is pricing available in other currencies?

Pricing is currently only available in U.S. dollars.

How do I avoid a large bill if my usage unexpectedly increases?

The Maps API usage limits do not take effect until a site has exceeded the limits for 90 consecutive days. If your site has met this requirement and you are purchasing excess map loads online, the Google APIs Console allows a cap on usage to be set on a project to protect against unexpected increases in use after billing has begun. See the Google APIs Console Help for more details.

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.

Is there a limit to the number of geocode requests I can submit?

The documentation for the Maps API Geocoding Web Service documents the Usage Limits that apply to the service. For more detailed information, including recommendations on how to reduce the risk of being affected by these limits, please see the article on Geocoding Strategies.


What keys or identifiers should I use for different Maps products?

The Maps family of APIs uses various identifiers that must be passed when loading or using certain products. The identifier to use varies by product.

  • An API key is obtained from https://code.google.com/apis/console. Maps API for Business users must make sure to select the Business project that was generated for them upon signup.
  • A client ID is given to you when you sign up as a Google Maps API for Business customer.
  • A digital signature is used only by Google Maps API for Business customers. It must be generated using a cryptographic key provided to you by Google. For more information, please read the Google Maps for Business Web Services document.

The table below indicates which key should be used with each Maps product.

Google Maps API Google Maps API for Business
API Console Key Maps API Key (aka v2 Key) No Key Client ID API Console Key (Business project) Digital Signature
Example &key=AIzaSyBjsI
NSH5x39Ks6c0_Co
S1yr1Mb3cB3cVo
&key=ABQIAAAAVc
JQrx7VsumiP2heFwp
6URQLaiSrhXTkLq3m
A9rOmHpVsHwBjxT
g7C5-XXHl634dCROpHwK
MO9BzmQ
&client=
gme-companyname
&key=AIzaSyBjsI
NSH5x39Ks6c0_Co
S1yr1Mb3cB3cVo
Javascript API v3 ✔ (recommended) ✔
Earth API ✔ ✔
Static Maps API v2 ✔ (recommended) ✔ ✔
Street View Image API ✔ (recommended) ✔ ✔
Geocoding API v3 ✔ (recommended) ✔ ✔ ✔
Geolocation ✔ ✔
Time Zone ✔ (recommended) ✔ ✔ ✔
Directions API ✔ (recommended) ✔ ✔ ✔
Elevation API ✔ (recommended) ✔ ✔ ✔
Distance Matrix API ✔ (recommended) ✔ ✔ ✔
Places API ✔ ✔
Deprecated APIs
Maps API for Flash ✔ ✔
Static Maps API v1 ✔ ✔
How can I configure my map application to select and use a valid API key when hosted behind multiple domains?

This section only applies to the Google Maps API for Flash. This is a deprecated API. We encourage you to migrate your applications to version 3 of the Maps JavaScript API.

Some applications may be hosted on multiple domains. For example, many content management systems push the same content to different domains (e.g. example.com and example.net) and wish to have that content single-sourced. Since Google Maps API keys are generated per domain, you'll need to generate separate keys for each domain and configure your application to use the correct one. The easiest way to do this in JavaScript is to dynamically generate the <script> tag using document.write and assigning the correct domain-specific key within the src attribute's URL as a parameter. In doing so, you'll need to pre-generate and hardcode the list of keys within your application.

One technique we suggest is to create an object which contains a mapping between domain names and its corresponding Google Maps API keys. Use window.location.host to retrieve the domain name your application is running against, and pass it into the object to select the appropriate key.

Below is a JavaScript snippet you can copy and paste into your application. Replace property names labeled domain*.com on the left with your list of domains and assign to each entry its corresponding and unique Google Maps API key.

document.write([
  '<script src="http://maps.googleapis.com/maps?file=api&amp;v=2&amp;key=', {
    'domain1.com': 'apikey1',
    'domain2.com': 'apikey2',
    'domain3.com': 'apikey3',
    'domainN.com': 'apikeyN'
  }[window.location.host],
  '" type="text/javascript"><\/script>'
].join(''));

When using the snippet above, be sure to include it within your HTML document above any <script> tags or JavaScript containing references to Google Maps API objects.

How can I find out the changes introduced in each version of the Google Maps APIs?

We maintain a list of changes between JavaScript Maps API v3 versions at:

http://code.google.com/p/gmaps-api-issues/wiki/JavascriptMapsAPIv3Changelog

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

http://code.google.com/p/gmaps-api-issues/issues/list

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 information and sample code can be found in the Getting Started chapter of the Maps API documentation.

How can I get the Google Maps APIs to display in a language other than English?
The API detects the browser settings of the user and set the language appropriately. It is possible to override the language in the APIs; more information is available in the JavaScript API documentation and the Flash API reference. Map controls and directions in the Directions Panel have been translated for a subset of languages listed in Supported Languages Spreadsheet. Labels on maps are presented in the preferred language when translations are available.

Check out the Supported Languages Spreadsheet. You can see what the map will look like in your language in this sample application.

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

The Google Maps JavaScript API v3, Google Static Maps API, and Google Maps API Web Services can be accessed over secure (HTTPS) connections by developers using either the free version of these APIs or Google Maps API for Business. Please see the documentation for the API concerned for information on how to access the API over SSL.

The Google Maps API for Flash can be accessed over a secure (HTTPS) connection by Google Maps API for Business customers only. If this APIs is used with a free Maps API key on a secure site, the browser may warn the user about non-secure objects on the screen.

Can the Google Maps API for Flash be used by a Flash application hosted on an SSL (HTTPS) site?

The Google Maps API for Flash can be used in a Flash application (SWF file) that is hosted on an SSL (HTTPS) site. However only Google Maps API for Business customers can load the Google Maps API for Flash over HTTPS. When the Google Maps API for Flash is loaded by a Flash application hosted on an https site using a free Maps API Key, the API is loaded over HTTP, and all connections to Google made by the API are over HTTP.

To load the Google Maps API for Flash using a free Maps API key in a Flash application hosted on an SSL site, you must:

  • Use Google Maps API for Flash version 1.9a or later.
  • Add the following to your Flash application before the map is instantiated:

    Security.allowInsecureDomain("maps.googleapis.com");

Why do I get a Security Sandbox error when using BitmapData.draw/3D effects in the Flash API?

The Maps API for Flash does not currently allow calls to BitmapData.draw(). Calling this method will result in a run-time Security Sandbox error. Several ActionScript libraries call this function in order to enable transitions or 3-d effects. If you are using those libraries in your application, make sure you're not using them on the map. To be notified if this situation changes, please star this issue.

How do I report a bug or request a new feature in the Google Maps APIs?

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

If you wish to request a feature, please also first raise it in the relevant forum to confirm that a solution that meets your requirements is not already available.

Once you have confirmed that you have identified a new bug, or that your requirements can not be met by the existing functionality of the Google Maps APIs, please report your bug or feature request using the Google Maps API Issue Tracker.

Before adding a bug or feature request to the Issue Tracker please be sure to 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.

I have a different question/problem. Who should I contact?

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

For best results when requesting help, please keep the following in mind:

  • 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. Only post code snippets if the code is not easily viewable online.
  • Provide all relevant information including browser versions, errors, and all other facts that may be useful in troubleshooting this problem.

Google Maps API for Business customers may also contact Google Enterprise Support.


I need to convert addresses to latitude/longitude pairs. Can I do that with the Google Maps APIs?

Yes, this process is called "geocoding." each of the Google Maps APIs includes a class for performing geocoding. The classes are:

Alternatively Google also provides a Geocoding Web Service, which offers a REST interface that can respond in JSON and XML formats.

Please be aware of the usage limits that apply to geocoder requests, and note that use of the geocoder for any purpose other than obtaining locations that will be displayed using the Google Maps APIs is a violation of the Terms of Service. You may use the HTTP geocoder to geocode addresses outside of your Google Maps API application so that they may be cached and later displayed using one of the Google Maps APIs, but locations obtained using the Geocoding Web Service may not be used by any other application, distributed by other means, or resold.

What countries is geocoding available in?

To see countries currently supported by the Google Maps APIs geocoders, please check out this spreadsheet and select "Yes" in the geocoding dropdown.

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

For geocoding in countries not currently supported by the Google Maps APIs, please browse this list of other geocoding services.

Why do the Google Maps APIs Geocoders provide different locations than Google Maps?

The API geocoder and Google Maps geocoder sometimes use different data sets (depending on the country). The API geocoder occasionally gets updated with new data, so you can expect to see results changing or improving over time.

How should I format a U.S. address on a numbered highway for geocoding?

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

  • County Roads: "Co Road NNN" where NNN is the road number. eg. "Co Road 82"
  • State Highways: "State NNN" where State is the full name of the state and NNN is the highway number. eg. "California 82"
  • U.S. Highways: "U.S. NNN" where NNN is the highway number. eg. "U.S. 101"
  • U.S. Interstates: "Interstate NNN" where NNN is the interstate number. eg. "Interstate 280"

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 maximise the likelihood of a successful query:

  • Specify addresses in accordance with the format used by the national postal service of the country concerned.
  • Do not specify additional address elements such as business names, unit numbers, floor numbers, or suite numbers that are not included in the address as defined by the postal service of the country concerned.
  • Use the street number of a premise in preference to the building name where possible.
  • Use street number addressing in preference to specifying cross streets where possible.
  • Do not provide 'hints' such as nearby landmarks.

When should I use an API geocoder class and when should I use the HTTP Geocoding Service?

See the article: Geocoding Strategies, which details the pros and cons of different geocoding strategies.

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

The Google Maps Javascript API allows you to provide driving directions via the google.maps.DirectionsService class. This class provides you with step-by-step access to basic and multi-point driving directions. The DirectionsRenderer class can automatically create the overlays and directions panel for you. Additional examples are provided in the documentation.

You can also easily link to Google Maps for driving directions. We suggest you use the following format for driving directions on Google Maps:

http://maps.google.com/maps?saddr={start_address}&daddr={destination_address}

What countries is driving directions available in?

To see countries currently supported by Driving Directions in the Maps API, check out this spreadsheet and choose "Yes" in the driving directions column dropdown. Please note that the availability of driving directions data depends on our contacts with data providers, so it is subject to change.

In which countries are transit directions available?

The Google Maps Directions Service supports all of the transit providers listed in the Transit Coverage List.

What features of KML & GeoRSS are supported in the Google Maps Javascript API?

The KmlLayer class in the Javascript API enables developers to overlay KML/KMZ and GeoRSS files on top of the map. Examples are here.

The KML features currently supported by the KmlLayer class are documented at:

https://developers.google.com/kml/documentation/mapsSupport

What are the limits on the size and complexity of KML that can be displayed using the KmlLayer class of the Google Maps Javascript API?

The size and complexity limits on the display of KML using the KmlLayer class are documented at:

https://developers.google.com/kml/documentation/mapsSupport

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

There is no limit to the number of markers or path vertices supported by the Google Static Maps 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.

Note that Static Maps API URLs can contain a maximum of approximately 2,000 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 information on how the number of decimal places used relates to the accuracy on the Earth see the Wikipedia article on Decimal Degrees.


Can I include advertising on my map?

Yes, you're welcome and encouraged to monetize your maps mashup through advertising. The JavaScript Maps API offers an AdSense Library to help you add advertising to your maps mashups. Read the developer's guide for more information.

You can also put AdSense ad units on the same page as your map mashup, outside of the map.

To sign up for AdSense and get a publisher ID, or to learn how to put ad units on your page, visit adsense.google.com.

How can I find my AdSense publisher ID?

To find your unique AdSense publisher ID number, log into your AdSense account at http://www.google.com/adsense. On the My Account tab, scroll down to the Property info section. Your publisher ID for each AdSense product and feature will be located in this section.

Alternatively, you can find your publisher ID number within your AdSense code. Just locate the AdSense code in the HTML source code of your website, and you'll spot your publisher ID in a line like the one shown below:

google_ad_client="ca-pub-xxxxxxxxxxxxxxxx";

What is an AdSense channel?

Please refer to the information on channels in the AdSense Help Center.

What countries is advertising with the ads layer available in?

Any developer whose page content is in one of the AdSense for Content languages can implement the ads layer. Currently, only advertisers from the United States will show ads in the ads layer. As the program continues, ads from advertisers in other countries may become available.

Je vyžadována autentizace

K provedení této akce musíte být přihlášeni do služby Google+.

Přihlašování...

K této akci potřebuje služba Google Developers vaše svolení.