visgl / visgl/react-google-maps

[Bug] Applies cached language when changign locale.

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

Nobody has claimed this yet.

bug needs more info
Dominant language
TypeScript
Stars
1.9k
Forks
193
Avg merge
3d 16h
Merged PRs (30d)
13

Description

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

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.