Skip to content

Unknown type for enum com.google.maps.model.AddressComponentType: 'administrative_area_level_7' #985

Open
@gpradhan27

Description

@gpradhan27

Environment details

  1. Specify the API : Places API
  2. OS type and version : macOS Sonoma 14.4
  3. Library version and other environment information: 2.2.0

Steps to reproduce

A warning is thrown when ever api returns place type administrative_area_level_6 or administrative_area_level_7 - example if api contains response of type below

 {
                "long_name": "RT.2",
                "short_name": "RT.2",
                "types": [
                    "administrative_area_level_7",
                    "political"
                ]
            }

Stack trace

Unknown type for enum com.google.maps.model.AddressComponentType: 'administrative_area_level_7'

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage meI really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions