Google API是否支持测距功能

38 views
Skip to first unread message

阮清鸳

unread,
Jan 11, 2010, 4:25:29 AM1/11/10
to Google-Map...@googlegroups.com
各位大侠,

请问下Google API是否能够支持测距功能呢?就是定位的两个点之间的距离能否计算?
另外,能否圈定一个范围,然后统计处圈定范围内的点数?
谢谢各位帮忙!

阮清鸳

--
Qingyuan Ruan
Institute of Public & Environmental Affairs
Suite 601, Gate 3, Building 9, Xingfujiayuan,
Guangqumennei Avenue, Chongwen District,
Beijing 100062
Tel: (8610) 6718 9470*8003
Fax: (8610) 6713 6387
Cell: (86) 1580 160 8488
E-mail: ruanqi...@gmail.com

地图南

unread,
Jan 11, 2010, 6:46:20 AM1/11/10
to 谷歌地图 API 论坛
GPolyline 的 getLength() 方法可以测距。

> E-mail: ruanqingy...@gmail.com

阮清鸳

unread,
Jan 11, 2010, 8:12:27 PM1/11/10
to google-map...@googlegroups.com
谢谢!
那圈定一个范围,然后统计范围内的定位点呢?

2010/1/11 地图南 <feli...@gmail.com>:

> --
> 您收到此信息是由于您订阅了 Google 论坛"谷歌地图 API 中文论坛"论坛。
> 要在此论坛发帖,请发电子邮件到 Google-Map...@googlegroups.com
> 要退订此论坛,请发邮件至 Google-Maps-API-...@googlegroups.com
> 更多选项,请通过 http://groups.google.com/group/Google-Maps-API-China?hl=zh-CN 访问该论坛
> 什么是Google地图API? 请通过 http://code.google.com/intl/zh-CN/apis/maps/index.html 免费将 Google 地图嵌入自己的网页中
>

--
Qingyuan Ruan
Institute of Public & Environmental Affairs
Suite 601, Gate 3, Building 9, Xingfujiayuan,
Guangqumennei Avenue, Chongwen District,
Beijing 100062
Tel: (8610) 6718 9470*8003
Fax: (8610) 6713 6387
Cell: (86) 1580 160 8488

E-mail: ruanqi...@gmail.com

Reply all
Reply to author
Forward
0 new messages