adds graphics and handles markers getting added and removed