adorris1 / geocoder-java

Automatically exported from code.google.com/p/geocoder-java
0 stars 0 forks source link

Support of "partial_match" property #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Please support "partial_match" property of result element. See sample response:

{
  "status": "OK",
  "results": [ {
    "types": [ "street_address" ],
    "formatted_address": "Цветной бул., 25, город Москва, Россия, 127051",
    "address_components": [ {
      "long_name": "25",
      "short_name": "25",
      "types": [ "street_address" ]
    }, {
      "long_name": "Цветной бул.",
      "short_name": "Цветной бул.",
      "types": [ "route" ]
    }, {
      "long_name": "Тверской",
      "short_name": "Тверской",
      "types": [ "sublocality", "political" ]
    }, {
      "long_name": "город Москва",
      "short_name": "город Москва",
      "types": [ "locality", "political" ]
    }, {
      "long_name": "АО Центральный",
      "short_name": "АО Центральный",
      "types": [ "administrative_area_level_2", "political" ]
    }, {
      "long_name": "Москва",
      "short_name": "Москва",
      "types": [ "administrative_area_level_1", "political" ]
    }, {
      "long_name": "Россия",
      "short_name": "RU",
      "types": [ "country", "political" ]
    }, {
      "long_name": "127051",
      "short_name": "127051",
      "types": [ "postal_code" ]
    } ],
    "geometry": {
      "location": {
        "lat": 55.7728858,
        "lng": 37.6206937
      },
      "location_type": "ROOFTOP",
      "viewport": {
        "southwest": {
          "lat": 55.7697382,
          "lng": 37.6175461
        },
        "northeast": {
          "lat": 55.7760334,
          "lng": 37.6238413
        }
      }
    },
    "partial_match": true
  } ]
}

Original issue reported on code.google.com by sasla...@gmail.com on 21 Mar 2011 at 2:36

GoogleCodeExporter commented 8 years ago

Original comment by panchmp on 13 Jun 2011 at 6:29

GoogleCodeExporter commented 8 years ago

Original comment by panchmp on 13 Jun 2011 at 7:05

GoogleCodeExporter commented 8 years ago
Thanks!

Original comment by sasla...@gmail.com on 13 Jun 2011 at 8:45