Maintain same map instance across multiple pages of same react app
#837 geöffnet am 2. März 2020
Repository-Metriken
- Stars
- (6.224 Stars)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Describe the bug 🐛
A clear and concise description of what the bug is.
Trying to use the same map instance across multiple pages of a react mobile web app. Would like to use the same map instance even when use navigates to other pages, since most pages require some markers to be rendered onto a map.
To Reproduce 🔍
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
A live example helps a lot!
Expected behavior 💭
A clear and concise description of what you expected to happen.
Screenshots 🖥
If applicable, add screenshots to help explain your problem.
Environment:
- OS: [e.g. iOS / windows / mac / android]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.