addMarker function