Creating a map marker with new visgl library #320
|
Hello, I created a map using the new visgl library, but I am having trouble creating a new map marker by double-clicking on the map. Here is the relevant code: |
Answered by
usefulthink
Apr 19, 2024
Replies: 1 comment
|
The way I'd do it would be something like this: https://codesandbox.io/p/devbox/boring-tree-fvyrk9?file=%2Fsrc%2Fapp.tsx%3A21%2C3 |
0 replies
Answer selected by
usefulthink
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The way I'd do it would be something like this: https://codesandbox.io/p/devbox/boring-tree-fvyrk9?file=%2Fsrc%2Fapp.tsx%3A21%2C3