FaheemOnHub / IP-Address-Location-Tracker

IP Address Tracker is a web application that allows users to track the geographical location of a given IP address. The application provides information such as the IP address, location (including city, region, and country), timezone, and Internet Service Provider (ISP). Additionally, the location is displayed on an interactive map using Leaflet.js
https://faheemonhub.github.io/IP-Address-Location-Tracker/
MIT License
9 stars 5 forks source link

When a new search is performed, remove the previous marker. #10

Closed LyubomirT closed 12 months ago

LyubomirT commented 1 year ago

This pull request fixes the glitch described in #8.

I added removeMarkerAndCircle and addMarkerAndCircle functions to handle the removal and addition of markers and circles. The removeMarkerAndCircle function is called before adding a new marker and circle, ensuring that the previous ones are removed.

FaheemOnHub commented 1 year ago

Great Job, will be testing it soon and if no error was found , it will be merged