Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajaits opened this issue Oct 26, 2023 · 0 comments
Open

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

ajaits opened this issue Oct 26, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ajaits
Copy link
Contributor

ajaits commented Oct 26, 2023

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([

@ajaits ajaits added the bug Something isn't working label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant