Added listener for marker.