任何人都可以指导如何从特定城市获取POI列表,例如艾哈迈达巴德。
得到了查询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”它们提供但不确定如何
https://developers.google.com/places/documentation/supported_types
帮助将不胜感激
最佳答案
您需要将任何一种支持的类型传递给针对类型的查询。
将结果限制为与至少一种指定类型匹配的地方。类型之间应使用竖线符号分隔(类型1 |类型2 |等)。请参阅支持的类型列表。
https://developers.google.com/places/documentation/supported_types