1.不建议全部一下读出来,你可以设定一个值,比如说一次读100条,如果100条显示完了,然后继续请求下100条,值视效果而定。 2.记得有算法可以实现距离和经纬度转换的。
在 2010年8月9日 下午1:23,王誉杰 <[email protected]>写道: > 大家好,最近刚刚接触Google Maps API,很多东西都还不是很懂,所以还请大家多多帮助我。 > > 我现在主要要做的一个功能就是模仿点评网(dianping.com)里面的一个地图搜索功能,现在碰到几个问题,希望大家能够帮我指点一下。 > > > 1.内容的读取(我现在的商家大概有600多家,每页大概就10家左右,现在就是数据的读取是一次性把600多条的信息全部读取到Json里面或者XML里面还是每页只读10条) > 2.指定范围的搜索(比如我查找商家A附近1KM里面的所有的店,这些商家都是我数据库里面的基础数据) > > 目前没有一点头绪,希望大家能够给我提点思路~谢谢大家了 > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps API" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
