gpt4 book ai didi

google-places-api - 可以在google places api中插入我们的自定义地点数据吗?

转载 作者:行者123 更新时间:2023-12-01 01:23:13 28 4
gpt4 key购买 nike

你们中的许多人都曾在 android 中开发过 LBS 应用程序,并且还使用了 Google Places API Web 服务来获取各个地方的信息。而且您可能还注意到,印度的数据并不准确,这意味着您知道的许多地方都不是 map 上的地方。

所以我的问题是,有什么方法可以将您的数据库以 XML/JSON 的形式添加到 Google 的 Places API Web 服务中?如果是,那么请让我知道这是怎么可能的。

祝你有美好的一天!!

最佳答案

地点 add requests :

Place Report requests are used to add new Places, or delete existing ones. New Places will be available immediately in Place Searches initiated by your application, and will enter the moderation queue to be considered for Google Maps. A newly-added Place will not be available to other applications until it has been approved by the moderation process.

Places that have been added by your application can also be deleted, until they have been moderated. Once moderated and added into the full Place Search results, a Place can no longer be deleted. Places that are not accepted by the moderation process will continue to be visible to the application that submitted them.


POST https://maps.googleapis.com/maps/api/place/add/json?sensor=true_or_false&key=api_key HTTP/1.1

Host: maps.googleapis.com

{
"location": {
"lat": -33.8669710,
"lng": 151.1958750
},
"accuracy": 50,
"name": "Google Shoes!",
"types": ["shoe_store"],
"language": "en-AU"
}

关于google-places-api - 可以在google places api中插入我们的自定义地点数据吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8291557/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com