google api v3未公开的方法map.get() [英] google api v3 undocumented method map.get()

查看:104
本文介绍了google api v3未公开的方法map.get()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我发现google.maps.Map类型的对象具有get()方法,但没有记录:

 >>> map.get('draggableCursor')
十字准线

该方法不存在.href =http://code.google.com/intl/cs/apis/maps/documentation/javascript/reference.html#Map =nofollow> docs 。这怎么可能?或者是在其他地方记录的功能,我错过了它? 从文档:google.maps。 Map类,该类扩展了 MVCObject 。 MVCObject类具有get函数。


I've found out that the object of type google.maps.Map has method get(), which is not documented:

>>> map.get('draggableCursor')
"crosshair"

When I look in the docs the method is not there. How is it possible? Or is the function documented somewhere else and I just missed it?

解决方案

From the docs: "google.maps.Map class. This class extends MVCObject". The MVCObject class has a get function.

这篇关于google api v3未公开的方法map.get()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆