New pricing changes went into effect on July 16, 2018. For more information, check out the Guide for Existing Users.

Code Samples

All of the examples contained in the Maps JavaScript API documentation set are listed below for quick reference.

Basics

Events

Controls and Interaction

Styles

Drawing on the Map

Layers

MapTypes

From our Terms of Service

Innovate, but don't
duplicate

Don't make a substitute for Google Maps. If your app's primary purpose is navigation, a business directory, or a general purpose "maps app", it's a substitute for Google Maps.

Learn More

Services

Libraries: Drawing

Libraries: Geometry

Places

Fun

傳送您對下列選項的寶貴意見...

這個網頁
Maps JavaScript API
需要協助嗎?請前往我們的支援網頁