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 相关文章推荐
JavaScript字符串String和Array操作的有趣方法
Dec 18 Javascript
javascript游戏开发之《三国志曹操传》零部件开发(四)用地图块拼成大地图
Jan 23 Javascript
基于jquery实现拆分姓名的方法(纯JS版)
May 08 Javascript
jQuery元素选择器用法实例
Dec 23 Javascript
javascript实现实时输出当前的时间
Apr 27 Javascript
node.js读取文件到字符串的方法
Jun 29 Javascript
JavaScript的MVVM库Vue.js入门学习笔记
May 03 Javascript
JavaScript中的对象继承关系
Aug 01 Javascript
javascript+html5+css3自定义弹出窗口效果
Oct 26 Javascript
vue中使用localstorage来存储页面信息
Nov 04 Javascript
vue 弹框产生的滚动穿透问题的解决
Sep 21 Javascript
JS class语法糖的深入剖析
Jul 07 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
WINDOWS 2000下使用ISAPI方式安装PHP
2006/09/05 PHP
php之字符串变相相减的代码
2007/03/19 PHP
PHP中使用TCPDF生成PDF文档实例
2014/07/01 PHP
php的优点总结 php有哪些优点
2019/07/19 PHP
让iframe框架网页在任何浏览器下自动伸缩
2006/08/18 Javascript
js实时监听文本框状态的方法
2011/04/26 Javascript
js获取RadioButtonList的Value/Text及选中值等信息实现代码
2013/03/05 Javascript
PHP PDO操作总结
2014/11/17 Javascript
javascript实现tab响应式切换特效
2016/01/29 Javascript
微信小程序开发之Tabbar实例详解
2017/01/09 Javascript
浅析Visual Studio Code断点调试Vue
2018/02/27 Javascript
Vue匿名插槽与作用域插槽的合并和覆盖行为
2019/04/22 Javascript
小程序云开发之用户注册登录
2019/05/18 Javascript
详解vue-cli3多页应用改造
2019/06/04 Javascript
VueX模块的具体使用(小白教程)
2020/06/05 Javascript
scrapy自定义pipeline类实现将采集数据保存到mongodb的方法
2015/04/16 Python
简单解决Python文件中文编码问题
2015/11/22 Python
Python使用BeautifulSoup库解析HTML基本使用教程
2016/03/31 Python
使用Python将数组的元素导出到变量中(unpacking)
2016/10/27 Python
Python对列表去重的多种方法(四种方法)
2017/12/05 Python
Python字符串格式化%s%d%f详解
2018/02/02 Python
python如何让类支持比较运算
2018/03/20 Python
对python多线程SSH登录并发脚本详解
2019/02/14 Python
python实现图片转字符小工具
2019/04/30 Python
python实现比较类的两个instance(对象)是否相等的方法分析
2019/06/26 Python
python绘制BA无标度网络示例代码
2019/11/21 Python
python深copy和浅copy区别对比解析
2019/12/26 Python
纯CSS实现预加载动画效果
2017/09/06 HTML / CSS
HTML5时代CSS设置漂亮字体取代图片
2014/09/04 HTML / CSS
初中化学教学反思
2014/01/23 职场文书
高中军训第一天感言
2014/03/06 职场文书
销售类求职信
2014/06/13 职场文书
八荣八耻的活动方案
2014/08/16 职场文书
手机被没收的检讨书
2014/10/04 职场文书
领导批评与自我批评范文
2014/10/16 职场文书
HTML常用标签超详细整理
2022/03/19 HTML / CSS