Add error check for navigator map