Submitted
What are you most proud of, and what would you do differently next time?
What I'm most proud of is how I managed to reset the map when a new IP address or domain name is searched. This was my main challenge. I am open to other suggestions.
What challenges did you encounter, and how did you overcome them?
My main challenge was resetting the map whenever a new domain or IP address is searched.
To overcome this, I dynamically created a new div element to render the map and removed the previously created div element (which uninitialized the Leaflet map) when a new search was made. This approach worked, but I believe there is room for improvement.
What specific areas of your project would you like help with?
What is the best way to uninitialized or initialize the map when a new search is made.