Main.js update for MapView navigation.