Death/Body-Marker on Map possible?

Would it be possible to create a Mod that would mark the last death-location on the map, so it’s possible to find the body/inventory easier again?
I realize that this is what the transponder/tracker can be used for. But just for fun, I was wondering if this could be done.

If yes, what approach would one have to take? I’m sure, a graph would have to be used. The question would be on which object would the graph reside, on what event would it trigger and most of all, what would it have to do, so when the player open the map next time (after reviving), that this custom marker appears on the map?

Awesome!!! Thank you very much for pointing me to that article!

No problem. hope it helps!