Is it possible to scale a marker onClick without re-rendering the map? #3157
Unanswered
thenoobgrammer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, so I have this piece of code. I can select a marker and it will scale by the scale factor I pass it. However, it re-renders the map every time I click on one. Does anyone know if there's a way to counter this?
Map.tsx:
useMarkers.ts:
Beta Was this translation helpful? Give feedback.
All reactions