add marker events wrapper