what im trying to figure out is how exactly do you create a minimap that can register each object location

below is an example to show what im talking about