Solution using Next.js

Solution retrospective
The map component did not automatically update the position by changing the values. I decided to remove and add the map when I update the position values. I would like to know if there is a better solution to achive the same behaviour.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kim Daniel Koch's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord