Google 地图API资料整理及详细介绍


Posted in Javascript onAugust 06, 2016

Google 地图API 参考手册

地图

构造函数/对象 描述
Map() 在指定的 HTML 容器中创建新的地图,该容器通常是一个DIV元素。

叠加层

构造函数/对象 描述
Marker 创建一个标记。
MarkerOptions 标记的选项。由DirectionsRenderer渲染的所有标记都将使用这些选项。
MarkerImage A structure representing a Marker icon or shadow image
MarkerShape Defines the marker shape to use in determination of a marker's clickable region (type and coord)
Animation Specifies animations that can be played on a marker (bounce or drop)
InfoWindow Creates an info window
InfoWindowOptions Options for rendering the info window
Polyline Creates a polyline (contains path and stroke styles)
PolylineOptions Options for rendering the polyline
Polygon Creates a polygon (contains path and stroke+fill styles)
PolygonOptions Options for rendering the polygon
Rectangle Creates a rectangle (contains bounds and stroke+fill styles)
RectangleOptions Options for rendering the rectangle
Circle Creates a circle (contains center+radius and stroke+fill styles)
CircleOptions Options for rendering the circle
GroundOverlay  
GroundOverlayOptions  
OverlayView  
MapPanes  
MapCanvasProjection  

事件

构造函数/对象 描述
MapsEventListener It has no methods and no constructor. Its instances are returned from addListener(), addDomListener() and are eventually passed back to removeListener()
event Adds/Removes/Trigger event listeners
MouseEvent Returned from various mouse events on the map and overlays

控件集

 

构造函数/对象 描述
MapTypeControlOptions Holds options for modifying a control (position and style)
MapTypeControlStyle Specifies what kind of map control to display (Drop-down menu or buttons)
OverviewMapControlOptions Options for rendering of the overview map control (opened or collapsed)
PanControlOptions Options for rendering of the pan control (position)
RotateControlOptions Options for rendering of the rotate control (position)
ScaleControlOptions Options for rendering of the scale control (position and style)
ScaleControlStyle Specifies what kind of scale control to display
StreetViewControlOptions Options for rendering of the street view pegman control (position)
ZoomControlOptions Options for rendering of the zoom control (position and style)
ZoomControlStyle Specifies what kind of zoom control to display (large or small)
ControlPosition Specifies the placement of controls on the map

 以上就是对 Google 地图API资料整理,后续继续补充相关知识,谢谢大家对本站的支持!

Javascript 相关文章推荐
window.open不被拦截的实现代码
Aug 22 Javascript
js/jquery获取浏览器窗口可视区域高度和宽度以及滚动条高度实现代码
Dec 17 Javascript
超棒的响应式布局jQuery插件Freetile.js
Nov 17 Javascript
js结合正则实现国内手机号段校验
Jun 19 Javascript
Js获取当前日期时间及格式化代码
Sep 17 Javascript
实例详解JavaScript中setTimeout函数的执行顺序
Jul 12 Javascript
vue router仿天猫底部导航栏功能
Oct 18 Javascript
js变量声明var使用与不使用的区别详解
Jan 21 Javascript
基于Taro的微信小程序模板消息-获取formId功能模块封装实践
Jul 15 Javascript
extjs图表绘制之条形图实现方法分析
Mar 06 Javascript
Vue如何基于es6导入外部js文件
May 15 Javascript
vue treeselect获取当前选中项的label实例
Aug 31 Javascript
jquery自动补齐功能插件flexselect用法示例
Aug 06 #Javascript
Google 地图类型详解及示例代码
Aug 06 #Javascript
Google 地图控件集详解及实例代码
Aug 06 #Javascript
Google 地图事件实例讲解
Aug 06 #Javascript
Google 地图叠加层实例讲解
Aug 06 #Javascript
Google Maps基础及实例解析
Aug 06 #Javascript
浅谈js的html元素的父节点,子节点
Aug 06 #Javascript
You might like
通过对服务器端特性的配置加强php的安全
2006/10/09 PHP
Yii把CGridView文本框换成下拉框的方法
2014/12/03 PHP
Yii使用DeleteAll连表删除出现报错问题的解决方法
2016/07/14 PHP
PHP内置函数生成随机数实例
2019/01/18 PHP
PHP fopen函数用法实例讲解
2019/02/15 PHP
基于jquery ajax 用户无刷新登录方法详解
2012/04/28 Javascript
jquery等待效果示例
2014/05/01 Javascript
jquery实现相册一下滑动两次的方法
2015/02/09 Javascript
JavaScript实现在页面间传值的方法
2015/04/07 Javascript
基于Jquery代码实现支持PC端手机端幻灯片代码
2015/11/17 Javascript
以WordPress为例讲解jQuery美化页面Title的方法
2016/05/23 Javascript
ionic在开发ios系统微信时键盘挡住输入框的解决方法(键盘弹出问题)
2016/09/06 Javascript
AngularJS路由Ui-router模块用法示例
2017/05/29 Javascript
浅谈es6语法 (Proxy和Reflect的对比)
2017/10/24 Javascript
JavaScript对象的特性与实践应用深入详解
2018/12/30 Javascript
Vue核心概念Getter的使用方法
2019/01/18 Javascript
JavaScript使用ul中li标签实现删除效果
2019/04/15 Javascript
浅谈对于“不用setInterval,用setTimeout”的理解
2019/08/28 Javascript
vue 动态给每个页面添加title、关键词和描述的方法
2020/08/28 Javascript
[02:38]DOTA2超级联赛专访Loda 认为IG世界最强
2013/05/27 DOTA
Python 流程控制实例代码
2009/09/25 Python
python从ftp下载数据保存实例
2013/11/20 Python
python 简单搭建阻塞式单进程,多进程,多线程服务的实例
2017/11/01 Python
python Flask实现restful api service
2017/12/04 Python
python正则表达式匹配[]中间为任意字符的实例
2018/12/25 Python
CSS3只让背景图片旋转180度的实现示例
2021/03/09 HTML / CSS
让IE下支持Html5的placeholder属性的插件
2014/09/02 HTML / CSS
丝芙兰法国官网:SEPHORA法国
2016/09/01 全球购物
您附近的水疗和健康场所:Spafinder(美国)
2019/07/05 全球购物
希腊香水和化妆品购物网站:Parfimo.gr
2019/10/03 全球购物
应届生幼儿园求职信
2013/11/12 职场文书
全国文明单位申报材料
2014/05/31 职场文书
写给领导的感谢信
2015/01/22 职场文书
2019年干货:自我鉴定
2019/03/25 职场文书
Python 内置函数速查表一览
2021/06/02 Python
element tree树形组件回显数据问题解决
2022/08/14 Javascript