[Bug] Applies cached language when changign locale.

Open
#1,039 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
react, typescript
Domain
frontend

Research direction

No source file or test is named. Start by reproducing the locale change and refresh flow in the web map, then trace where the selected language and cached map data are handled; done means the map uses the newly selected language after a normal refresh without requiring a full refresh.

Written by the indexing model from the issue text.

Description

bug needs more info
Description

When changing language in web and post refreshing the map still shows previous language. You have to full refresh the web in order to get the new one applied.

Steps to Reproduce

When changing language in web it applies the cached one instead of the new one selected. You have to fully refresh the page in order to get the new language applied on the map.

Image Image
Environment
  • Library version:
  • Google maps version: weekly
  • Browser and Version:
  • OS:
Logs

Dominant language
TypeScript
Stars
2k
Forks
195
Avg merge
6h 26m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from visgl/react-google-maps

All issues in visgl/react-google-maps

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.