I'm not sure what you mean but SLAM includes a strong mapping component that includes edge and environmental geometry detection. The unobserved variable here are the future locations of the boundaries of vehicles and obstacles (we can't predict where a vehicle would move so can an obstacle).