Groups
Groups
Sign in
Groups
Groups
谷歌地图 API 论坛
Conversations
About
Send feedback
Help
如何利用Google地图标记整个城市的酒店宾馆
11 views
Skip to first unread message
温冰洋
unread,
Nov 17, 2009, 3:56:28 AM
11/17/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Map...@googlegroups.com
大家好,
我在用Drupal做一个网站,我现在的需求是想利用Google地图标记整个城市全部的酒店宾馆,由于标记点数量有些庞大,这个需求如果单纯用 Drupal 下的Google Map 模块实现的话,就有些困难了。所以,在这里求助,如何用Google Api 实现这个功能,谢谢大家。
Fei Chen
unread,
Nov 18, 2009, 4:40:21 AM
11/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
对大量markers的显示有几种途径的优化方式,这里有篇文章,不过是E文的
http://www.svennerberg.com/2009/01/handling-large-amounts-of-markers-in-google-maps/
简单说,常用的方法是:
1、按需加载、按需显示,包括只在当前地图视图中显示标记;
2、使用聚合/蔟,就是把重叠或接近的标记使用一个marker表示,zoomin以后再详细显示,有client和server端两种途径
可以直接使用markerclusterer这个客户端优化方法试试,这个是由在论坛里经常出现的xiaoxi写的
http://gmaps-utility-library.googlecode.com/svn/trunk/markerclusterer/
2009/11/17 温冰洋
<
arde...@gmail.com
>
温冰洋
unread,
Nov 18, 2009, 8:12:05 PM
11/18/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
呵呵呵,只要有解决方案,E文的也不怕,十分感谢Fei Chen~~~
2009/11/18 Fei Chen
<
phini...@gmail.com
>
Reply all
Reply to author
Forward
0 new messages