Adding a marker to map works

Although the function replaces the old marker with the new one, instead
of creating another marker.