Google maps 谷歌地图地理编码没有给出结果

Google maps 谷歌地图地理编码没有给出结果,google-maps,Google Maps,泰米尔纳德邦哥印拜陀拉马纳塔普拉姆市特里希路7-A Artsan Towers 这是我在谷歌地图中输入的内容,它给了我5个结果 但当我在GeocodeAPI中给出相同的地址时,结果为零。 我该如何处理这件事,我想要最近的lat long 结果是 {"results"=>[], "status"=>"ZERO_RESULTS"} 在这里,你应该避免单位号码、楼层号码和企业名称 欲了解更多信息,请阅读 这对我有用 结果: { "results" : [ { "ad

泰米尔纳德邦哥印拜陀拉马纳塔普拉姆市特里希路7-A Artsan Towers

这是我在谷歌地图中输入的内容,它给了我5个结果

但当我在GeocodeAPI中给出相同的地址时,结果为零。 我该如何处理这件事,我想要最近的lat long

结果是

{"results"=>[], "status"=>"ZERO_RESULTS"}

在这里,你应该避免单位号码、楼层号码和企业名称

欲了解更多信息,请阅读

这对我有用

结果:

{   "results" : [
  {
     "address_components" : [
        {
           "long_name" : "Artsan Towers",
           "short_name" : "Artsan Towers",
           "types" : [ "premise" ]
        },
        {
           "long_name" : "4",
           "short_name" : "4",
           "types" : [ "street_number" ]
        },
        {
           "long_name" : "Trichy Road",
           "short_name" : "Trichy Rd",
           "types" : [ "route" ]
        },
        {
           "long_name" : "Near Ramanathapuram Signal, Behind SS Palamuthir Nilayam",
           "short_name" : "Near Ramanathapuram Signal, Behind SS Palamuthir Nilayam",
           "types" : [ "neighborhood", "political" ]
        },
        {
           "long_name" : "Ramasamy Nagar",
           "short_name" : "Ramasamy Nagar",
           "types" : [ "political", "sublocality", "sublocality_level_2" ]
        },
        {
           "long_name" : "Ramanathapuram",
           "short_name" : "Ramanathapuram",
           "types" : [ "political", "sublocality", "sublocality_level_1" ]
        },
        {
           "long_name" : "Coimbatore",
           "short_name" : "Coimbatore",
           "types" : [ "locality", "political" ]
        },
        {
           "long_name" : "Coimbatore",
           "short_name" : "Coimbatore",
           "types" : [ "administrative_area_level_2", "political" ]
        },
        {
           "long_name" : "Tamil Nadu",
           "short_name" : "TN",
           "types" : [ "administrative_area_level_1", "political" ]
        },
        {
           "long_name" : "India",
           "short_name" : "IN",
           "types" : [ "country", "political" ]
        },
        {
           "long_name" : "641045",
           "short_name" : "641045",
           "types" : [ "postal_code" ]
        }
     ],
     "formatted_address" : "Artsan Towers, 4, Trichy Rd, Near Ramanathapuram Signal, Behind SS Palamuthir Nilayam, Ramasamy Nagar, Ramanathapuram, Coimbatore, Tamil Nadu 641045, India",
     "geometry" : {
        "location" : {
           "lat" : 10.9974156,
           "lng" : 76.9949293
        },
        "location_type" : "ROOFTOP",
        "viewport" : {
           "northeast" : {
              "lat" : 10.9987645802915,
              "lng" : 76.99627828029151
           },
           "southwest" : {
              "lat" : 10.9960666197085,
              "lng" : 76.9935803197085
           }
        }
     },
     "partial_match" : true,
     "place_id" : "ChIJEVWhlsNZqDsR4AxMyrJZQPM",
     "types" : [ "street_address" ]
  }   ],   "status" : "OK"}

地理编码器用于邮政地址。它不适用于“场所”(Artsan Towers)。对于这些,使用places API。那么places API将提供我所期望的时间吗?你能告诉我,你的请求中有什么问题吗?7-A考虑的是平面号或楼层号,你应该避免。