可以在Google Places API中插入地方的自定义数据吗? [英] Can insert our custom data of places in google places api?

查看:69
本文介绍了可以在Google Places API中插入地方的自定义数据吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你们中的许多人都在android中研究LBS应用程序,还使用Google Places API Web服务获取各个地方的信息.您可能还会注意到,印度的数据特别不准确,这意味着您知道的许多地方都不在地图上.

Many of you has worked on LBS application in android and also used the Google Places API web service for the information of various places. And you may also noticed that the data for India specifically is not accurate means many of places that you know are not their on the map.

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

So my question is that is there any way that you can add your database to Google's Places API Web service in the form of XML/JSON? If yes then please let me know how it is possible.

祝您有美好的一天!

推荐答案

地方添加请求:

位置报告请求用于添加新的位置或删除现有的位置.新地点将在您的应用程序发起的地点搜索中立即可用,并将输入要考虑用于Google地图的审核队列.除非经过审核程序的批准,否则其他应用程序将无法使用新添加的地方.

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中插入地方的自定义数据吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆