Added proper tracking of the localization map.