 
     @IBAction func mapSwitchChanged(_ segmentedControl: UISegmentedControl) {
 		let maps = viewModel.BrowsableMaps.value
+		mapEntry = nil
         if segmentedControl.selectedSegmentIndex == segmentedControl.numberOfSegments - 1 {
             present(RoutingAppChooser.sharedInstance.getAlertForAddress("Estrel Hotel Berlin", house: "225", street: "Sonnenallee", zip: "12057", city: "Berlin", country: "Germany", lat: 52.473336, lon: 13.458729), animated: true, completion:nil)
 			if let map = map, let currentMapIndex = maps.index(of: map) {

		}

		guard let map = map, let mapImage = map.Image else {
			return
		}


		return mapView
	}

	func show(mapEntry: MapEntry, animated: Bool = true) {
		guard let map = mapEntry.Map, map.IsBrowseable else {
			print("MapEntry without associated map or non-browsable map!")
			return
		}

		self.mapEntry = mapEntry
		show(map: map, animated: animated)
	}

    /// Switches the view to map. Will do reload map if
    /// given map is already being displayed.
    /// - parameters:
    ///		- map: map to be displayed
	///		- animated: should zooming and panning the new map to fit be animated?
	func show(map: Map?, animated: Bool = false) {
        mapContainerView.subviews.forEach({ $0.removeFromSuperview() })
		mapView = createMapView(for: MapViewController.imagePlaceholder)
