Created method to clean the repeated coordinates to the markers