about the google.loader.ClientLocation

0 views
Skip to first unread message

xing yi

unread,
Nov 18, 2009, 2:29:57 AM11/18/09
to 谷歌地图 API 论坛
Hi ,
Who has used the google.loader.ClientLocation,and can you offer a
example.
and I want to know whether the class need the background to support,or
I just
use the class and the js can get the latitude and longitude.
Thank you !!!
I wait your reply.

xing yi

unread,
Nov 18, 2009, 3:01:48 AM11/18/09
to 谷歌地图 API 论坛

Fei Chen

unread,
Nov 18, 2009, 3:11:05 AM11/18/09
to google-map...@googlegroups.com
加载ajax search api以后就可以直接用了,不明白你说的background是指什么

这里有很详细的文档说明,包括google.loader.ClientLocation的结构

直接可以使用这样的形式定义地图上的点,当然前提是maps api也已经加载完成:
var latlng = new GLatLng(google.loader.ClientLocation.latitude, google.loader.ClientLocation.longitude);

2009/11/18 xing yi <6576...@qq.com>
Reply all
Reply to author
Forward
0 new messages