Hide

Client-side APIs

This section covers the following client-side APIs that are queried from a browser:

  • The Google Maps JavaScript API v3
  • The Google Earth API

Introduction

Welcome to the Google Maps API for Work!

You will have received a welcome letter from Google upon purchasing your Google Maps API for Work license. That letter contains your client ID and your private cryptographic key. These are important pieces of information and should be stored safely.

Your Google Maps API for Work license also grants access to the Google Maps API Web Services and Image APIs. Please refer to these sections for more information.

Benefits

Your Google Maps API for Work provides the following benefits:

Client ID

You must include your client ID in all API requests. Your client ID identifies you as a Google Maps API for Work customer and enables support and purchased quota for your application. Requests made without a client ID are not eligible for Google Maps API for Work benefits.

If you're switching from the free API services to a Maps API for Work implementation, you must remove the key parameter from your requests.

Your client ID is specified as the value of a client parameter:

<script src="https://maps.googleapis.com/maps/api/js?client=YOUR_CLIENT_ID&v=3.20"></script>

For more information, including instructions on passing your client ID to the Earth API, please read Loading Client-side APIs.

If you have lost your client ID or cryptographic key, you can recover them by logging in to the Google for Work Support Portal and clicking Maps: Manage Client ID from the links on the left of the page.

Registering authorized URLs

Requests using your client ID will only succeed when coming from URLs that have been registered. Please read Registering authorized URLs in the Authentication chapter of this guide for instructions.

Once you have loaded the API, refer to the regular Developer Documentation for the API you are using.

Documentation

The main source of information about the Google Maps client-side APIs is the general developer and reference documentation:

Getting help

Maps API for Work customers have access to telephone and email support, as well as to the Google for Work Support Portal. Contact information is available on the Support and resources page.

Send feedback about...

Google Maps API for Work