A map manager routine