Once upon a time there was a mapmaker.
And every day he would set out to map a new section of the royal grounds.
Until one day, just as he was about to finish his project, he discovered a secret hidden entrance.
And because of this he had to stop mapping and summon engineers to assist in checking the room for any possible traps and safety concerns.
And because this his progress slowed and the king got more and more anxious for him to complete the project.
Until finally the engineers cleared the room and he was able to complete the map of the room and the royal grounds.
And ever since that day the king has stopped getting lost by using his new map.