<!DOCTYPE html>
<html style="" class="devsite js no-flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths wf-opensans-n4-active wf-active" lang="en"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><script async="" src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/cbgapi.loaded_0"></script><script gapi_processed="true" src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/plusone.js" async="" type="text/javascript"></script>
<meta charset="utf-8">
<script src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/script_head.js"></script>
<link rel="stylesheet" type="text/css" href="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/screen.css">
<link rel="shortcut icon" href="https://developers.google.com/_static/images/favicon.ico">
<link rel="apple-touch-icon" href="https://developers.google.com/_static/images/apple-touch-icon.png">
<link href="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/css_002.css" rel="stylesheet" type="text/css">
<script src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/jquery.js"></script>
<script id="jqueryui" src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/jquery-ui.js"></script>
<script src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/jsapi"></script>
<script type="text/javascript" src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/api.js"></script>
<script type="text/javascript" src="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/a_002"></script>
<!--[if lt IE 9]>
<script src="/_static/js/html5shim/html5.js"></script>
<![endif]-->
<script type="text/javascript">
var contentTimer = new window.jstiming.Timer();
var ___gcfg = ___gcfg || {};
___gcfg.lang = 'zh-cn';
</script>
<title>Google Maps Javascript API V3 Reference - Google Maps JavaScript API v3 — Google Developers</title>
<style>.a-b-c{position:relative;display:-moz-inline-box;display:inline-block}* html .a-b-c,*:first-child+html .a-b-c{display:inline}.a-d-e{margin:2px;border:0;padding:0;font-family:Arial,sans-serif;color:#000;background:#ddd url(//ssl.gstatic.com/editor/button-bg.png) repeat-x top left;text-decoration:none;list-style:none;vertical-align:middle;cursor:default;outline:none}.a-d-e-f-g,.a-d-e-h-g{border-style:solid;border-color:#aaa;vertical-align:top}.a-d-e-f-g{margin:0;border-width:1px 0;padding:0}.a-d-e-h-g{-moz-box-orient:vertical;margin:0 -1px;border-width:0 1px;padding:3px 4px;white-space:nowrap}* html .a-d-e-h-g{left:-1px}* html .a-d-e-i .a-d-e-f-g{left:-1px}* html .a-d-e-i .a-d-e-h-g{right:auto}*:first-child+html .a-d-e-h-g{left:-1px}*:first-child+html .a-d-e-i .a-d-e-h-g{left:1px}::root .a-d-e{line-height:0}::root .a-d-e-f-g{line-height:0}::root .a-d-e-h-g{line-height:normal}.a-d-e-j{background-image:none!important;opacity:.3;-moz-opacity:.3;filter:alpha(opacity=30)}.a-d-e-j .a-d-e-f-g,.a-d-e-j .a-d-e-h-g{color:#333!important;border-color:#999!important}* html .a-d-e-j,*:first-child+html .a-d-e-j{margin:2px 1px!important;padding:0 1px!important}.a-d-e-k .a-d-e-f-g,.a-d-e-k .a-d-e-h-g{border-color:#9cf #69e #69e #7af!important}.a-d-e-l,.a-d-e-m{background-color:#bbb;background-position:bottom left}.a-d-e-n .a-d-e-f-g,.a-d-e-n .a-d-e-h-g{border-color:orange}.a-d-e-o-p,.a-d-e-o-p .a-d-e-f-g,.a-d-e-o-p .a-d-e-h-g{margin-right:0}.a-d-e-o-q,.a-d-e-o-q .a-d-e-f-g{margin-left:0}.a-d-e-o-q .a-d-e-h-g{margin-left:0;border-left:1px solid #fff}.a-d-e-o-q.a-d-e-m .a-d-e-h-g{border-left:1px solid #ddd}* html .a-d-e-o-q .a-d-e-h-g,*:first-child+html .a-d-e-o-q .a-d-e-h-g{left:0}.a-r-e{position:relative;margin:2px;border:1px solid #000;padding:2px 6px;font:normal 13px "Trebuchet MS",Tahoma,Arial,sans-serif;color:#fff;background-color:#8c2425;cursor:pointer;outline:none}.a-r-e-j{border-color:#888;color:#888;background-color:#ccc;cursor:default}.a-r-e-k{border-color:#8c2425;color:#8c2425;background-color:#eaa4a5}.a-r-e-l,.a-r-e-s,.a-r-e-m{border-color:#5b4169;color:#5b4169;background-color:#d1a8ea}.a-r-e-n{border-color:#5b4169}.a-r-e-o-p{margin-right:0}.a-r-e-o-q{margin-left:0;border-left:none}.a-e{color:#036;border-color:#036;background-color:#69c}.a-e-j{border-color:#333;color:#333;background-color:#999}.a-e-k{color:#369;border-color:#369;background-color:#9cf}.a-e-l{color:#69c;border-color:#69c}</style><link href="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/css.css" rel="stylesheet"><link type="text/css" rel="stylesheet" href="Google%20Maps%20Javascript%20API%20V3%20Reference%20-%20Google%20Maps%20JavaScript%20API%20v3%20%E2%80%94%20Google%20Developers_files/table.css"><style type="text/css" charset="utf-8">/* See license.txt for terms of usage */
/** reset styling **/
.firebugResetStyles {
z-index: 2147483646 !important;
top: 0 !important;
left: 0 !important;
display: block !important;
border: 0 none !important;
margin: 0 !important;
padding: 0 !important;
outline: 0 !important;
min-width: 0 !important;
max-width: none !important;
min-height: 0 !important;
max-height: none !important;
position: fixed !important;
transform: rotate(0deg) !important;
transform-origin: 50% 50% !important;
border-radius: 0 !important;
box-shadow: none !important;
background: transparent none !important;
pointer-events: none !important;
white-space: normal !important;
}
.firebugBlockBackgroundColor {
background-color: transparent !important;
}
.firebugResetStyles:before, .firebugResetStyles:after {
content: "" !important;
}
/**actual styling to be modified by firebug theme**/
.firebugCanvas {
display: none !important;
}
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.firebugLayoutBox {
width: auto !important;
position: static !important;
}
.firebugLayoutBoxOffset {
opacity: 0.8 !important;
position: fixed !important;
}
.firebugLayoutLine {
opacity: 0.4 !important;
background-color: #000000 !important;
}
.firebugLayoutLineLeft, .firebugLayoutLineRight {
width: 1px !important;
height: 100% !important;
}
.firebugLayoutLineTop, .firebugLayoutLineBottom {
width: 100% !important;
height: 1px !important;
}
.firebugLayoutLineTop {
margin-top: -1px !important;
border-top: 1px solid #999999 !important;
}
.firebugLayoutLineRight {
border-right: 1px solid #999999 !important;
}
.firebugLayoutLineBottom {
border-b