Skip to content

[Map] Enable AA1, AA2 place types in Brazil maps #3726

@ajaits

Description

@ajaits

Describe the bug

Enable place types AA1, AA2 for Brazil maps

To Reproduce

URL: https://autopush.datacommons.org/tools/map#%26sv%3DCount_Person%26pc%3D0%26denom%3DCount_Person%26pd%3Dcountry%2FBRA%26ept%3DAdministrativeArea2
Browser:

Steps to reproduce the behavior:

  1. Got to maps explorer
  2. Select place 'Brazil'
  3. in the place type selector, expect to see Administrativerea1, AdministrativeArea2, but only IPCCPlace_50 is shown

Expected behavior

Enable AA1, AA2 in place type selector for Brazil, similar to India.

Screenshots

https://screenshot.googleplex.com/4Ue7fxjRVixZPzL

Additional context

In the website repo, extend AA1_AA2_PLACES to allow country/BRA

const AA1_AA2_PLACES = new Set([

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions