I would recommend using the Jobs API to schedule a job to run later and
place the markers. When you schedule a job, use the IResource that you
want to place the marker on as the scheduling rule. That way when your
job is activated, you will know that you will be able to place the marker.