usds / justice40-tool

A tool to identify disadvantaged communities due to environmental, socioeconomic and health burdens
https://screeningtool.geoplatform.gov/
Creative Commons Zero v1.0 Universal
124 stars 42 forks source link

It would be useful if switching between languages retained the census tract selection (if the person has a tract selected) #2240

Open KameronKerger opened 11 months ago

KameronKerger commented 11 months ago

Describe the bug If a person has a census tract selected and they change languages the map goes to the default zoom and deselects the tract.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'any census tract and select it'
  2. Click on 'Spanish (if in English)'
  3. See error

Expected behavior Retain tract selection when switching languages

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.