2011-03-22 197 views

回答

1

你将能够做到这一点使用新谷歌Places API的。您需要注册该服务才能获得允许您发送请求的密钥。然后你就可以建立一个网址,并获得了JSON回复上市名为星巴克雷德蒙德附近的地方:https://maps.googleapis.com/maps/api/place/search/json?location=47.6743,-122.1220&radius=1&name=starbucks&client=CLIENTID&sensor=true&signature=SIGNATURE

请参见官方网站API的细节和如何获得关键: http://code.google.com/apis/maps/documentation/places/