本文介绍了从Google Places API获取POI列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以指导如何从特定城市获取POI列表,例如艾哈迈达巴德.

Can anyone guide how to get list of POI from a particular city for e.g. ahmedabad.

获得查询 https://maps.googleapis.com/maps/api/place/nearbysearch/xml?location=23.006000,72.601100&types=point_of_interest&radius=50000&sensor=false&key = YouAPIKey

"point_of_interest"已经提到它们提供了,但不确定如何提供

"point_of_interest" its already mentioned that they provide but not sure how

https://developers.google.com/places/documentation/supported_types

我们将不胜感激

推荐答案

您需要将任何一种受支持的类型传递给针对类型的查询.

You need to pass any one of the supported type to your query against types.

将结果限制为与至少一种指定类型匹配的地方.类型之间应使用竖线符号分隔(类型1 |类型2 |等).请参阅支持的类型列表.

Restricts the results to Places matching at least one of the specified types. Types should be separated with a pipe symbol (type1|type2|etc). See the list of supported types.

https://developers.google.com/places/documentation/supported_types

这篇关于从Google Places API获取POI列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 16:30