Some math problem

Situation: I have a game in birdeye view. An object is moving around on the map, directed with left, right, up and down keys.

What I want to do: I would like to have a small navigation map for this, so the player will know where on the map they are. Anybody got any advice where I can find help for this. Or has anyone ever done this before themselves and can help?