added map's component to the main view