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

Prevent from more than one location pin appearing #139

Open
SarahHCode opened this issue Aug 8, 2024 · 0 comments
Open

Prevent from more than one location pin appearing #139

SarahHCode opened this issue Aug 8, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@SarahHCode
Copy link
Collaborator

SarahHCode commented Aug 8, 2024

Describe the bug
Sometimes, more than one location pin appears... maybe it's because the location pin layer function re-runs (map re-renders or something?).

Solution: Remove existing location pin layer each time its function runs.

To Reproduce
Steps to reproduce the behavior:

  1. Go to map.
  2. See error sometimes.

Expected behavior
One location pin only should be present.

Screenshots
image
image

Smartphone (please complete the following information):

  • Device: iPhone
@SarahHCode SarahHCode added the bug Something isn't working label Aug 8, 2024
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