connected marker to eventdata object