create event as markers are created