Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter gabsgarciajrc

    (@gabsgarciajrc)

    Thanks Farroyo, but I still don’t know what’s happening.

    When I put “Mauá” in API Response, it’s shows:

    
    [
        {
            "address_components": [
                {
                    "long_name": "Pedra Selada",
                    "short_name": "Pedra Selada",
                    "types": [
                        "administrative_area_level_4",
                        "political"
                    ]
                },
                {
                    "long_name": "Resende",
                    "short_name": "Resende",
                    "types": [
                        "administrative_area_level_2",
                        "political"
                    ]
                },
                {
                    "long_name": "Rio de Janeiro",
                    "short_name": "RJ",
                    "types": [
                        "administrative_area_level_1",
                        "political"
                    ]
                },
                {
                    "long_name": "Brasil",
                    "short_name": "BR",
                    "types": [
                        "country",
                        "political"
                    ]
                },
                {
                    "long_name": "27553-000",
                    "short_name": "27553-000",
                    "types": [
                        "postal_code"
                    ]
                }
            ],
            "formatted_address": "RJ 151- KM 8,5 - Pedra Selada, Resende - RJ, 27553-000, Brasil",
            "geometry": {
                "location": {
                    "lat": -22.3176374,
                    "lng": -44.512732
                },
                "location_type": "GEOMETRIC_CENTER",
                "viewport": {
                    "south": -22.3189489802915,
                    "west": -44.5140815802915,
                    "north": -22.3162510197085,
                    "east": -44.5113836197085
                }
            },
            "partial_match": true,
            "place_id": "ChIJ08ssJKtlngARiNOTQjsUj98",
            "plus_code": {
                "compound_code": "MFJP+WW Visconde de Mauá - Pedra Selada, Resende - RJ",
                "global_code": "589QMFJP+WW"
            },
            "types": [
                "establishment",
                "lodging",
                "point_of_interest"
            ]
        }
    ]
    
    

    And when I put “Cidade Mauá” it’s shows:

    [
        {
            "address_components": [
                {
                    "long_name": "Mauá",
                    "short_name": "Mauá",
                    "types": [
                        "locality",
                        "political"
                    ]
                },
                {
                    "long_name": "Mauá",
                    "short_name": "Mauá",
                    "types": [
                        "administrative_area_level_2",
                        "political"
                    ]
                },
                {
                    "long_name": "S?o Paulo",
                    "short_name": "SP",
                    "types": [
                        "administrative_area_level_1",
                        "political"
                    ]
                },
                {
                    "long_name": "Brasil",
                    "short_name": "BR",
                    "types": [
                        "country",
                        "political"
                    ]
                }
            ],
            "formatted_address": "Mauá, SP, Brasil",
            "geometry": {
                "bounds": {
                    "south": -23.7210179,
                    "west": -46.4986089,
                    "north": -23.6120573,
                    "east": -46.3832768
                },
                "location": {
                    "lat": -23.666558,
                    "lng": -46.4599145
                },
                "location_type": "APPROXIMATE",
                "viewport": {
                    "south": -23.7210179,
                    "west": -46.4986089,
                    "north": -23.6120573,
                    "east": -46.3832768
                }
            },
            "place_id": "ChIJP-RInlRpzpQR34j8aHpiEOI",
            "types": [
                "locality",
                "political"
            ]
        }
    ]
    

    Its very weird why this is happening.

Viewing 1 replies (of 1 total)