function updateUI()
		{
			console.log("swipe.core.Core - updateUI");

			var appColors = WebApplicationData.getColors();

			applyUILayout(WebApplicationData.getLayout());

			app.header.setTitleAndSubtitle(
				WebApplicationData.getTitle() || app.data.getWebMapItem().item.title,
				WebApplicationData.getSubtitle() || app.data.getWebMapItem().item.snippet
			);
			app.header.setColor(appColors[0]);

			var logoURL = WebApplicationData.getLogoURL() || APPCFG.HEADER_LOGO_URL;
			app.header.setLogoInfo(
				logoURL,
				logoURL == APPCFG.HEADER_LOGO_URL ?
					APPCFG.HEADER_LOGO_TARGET
					: WebApplicationData.getLogoTarget()
			);
			app.header.setTopRightLink(
				WebApplicationData.getHeaderLinkText() == undefined ? APPCFG.HEADER_LINK_TEXT : WebApplicationData.getHeaderLinkText(),
				WebApplicationData.getHeaderLinkURL() == undefined ? APPCFG.HEADER_LINK_URL : WebApplicationData.getHeaderLinkURL()
			);
			app.header.setSocial(WebApplicationData.getSocial());

			if (app.seriesPanel) {
				app.seriesPanel.setColor(appColors[0]);
				app.mobileCarousel.setColor(appColors);
			}

			$('#infoWindowContent').css("background-color", appColors[1]);

			_mainView.updateUI();

			handleWindowResize();
		}
/**
		 * Refresh the UI when tour points have changed
		 */
Refresh the UI when tour points have changed
Refresh the UI when tour points have changed
function updateUI()
		{
			console.log("swipe.core.Core - updateUI");
			var appColors = WebApplicationData.getColors();
			applyUILayout(WebApplicationData.getLayout());
			app.header.setTitleAndSubtitle(
				WebApplicationData.getTitle() || app.data.getWebMapItem().item.title,
				WebApplicationData.getSubtitle() || app.data.getWebMapItem().item.snippet
			);
			app.header.setColor(appColors[0]);
			var logoURL = WebApplicationData.getLogoURL() || APPCFG.HEADER_LOGO_URL;
			app.header.setLogoInfo(
				logoURL,
				logoURL == APPCFG.HEADER_LOGO_URL ?
					APPCFG.HEADER_LOGO_TARGET
					: WebApplicationData.getLogoTarget()
			);
			app.header.setTopRightLink(
				WebApplicationData.getHeaderLinkText() == undefined ? APPCFG.HEADER_LINK_TEXT : WebApplicationData.getHeaderLinkText(),
				WebApplicationData.getHeaderLinkURL() == undefined ? APPCFG.HEADER_LINK_URL : WebApplicationData.getHeaderLinkURL()
			);
			app.header.setSocial(WebApplicationData.getSocial());
			if (app.seriesPanel) {
				app.seriesPanel.setColor(appColors[0]);
				app.mobileCarousel.setColor(appColors);
			}
			$('#infoWindowContent').css("background-color", appColors[1]);
			_mainView.updateUI();
			handleWindowResize();
		}
function updateUI ( ) { console . log ( "swipe.core.Core - updateUI" ) ; var appColors = WebApplicationData . getColors ( ) ; applyUILayout ( WebApplicationData . getLayout ( ) ) ; app . header . setTitleAndSubtitle ( WebApplicationData . getTitle ( ) || app . data . getWebMapItem ( ) . item . title , WebApplicationData . getSubtitle ( ) || app . data . getWebMapItem ( ) . item . snippet ) ; app . header . setColor ( appColors [ 0 ] ) ; var logoURL = WebApplicationData . getLogoURL ( ) || APPCFG . HEADER_LOGO_URL ; app . header . setLogoInfo ( logoURL , logoURL == APPCFG . HEADER_LOGO_URL ? APPCFG . HEADER_LOGO_TARGET : WebApplicationData . getLogoTarget ( ) ) ; app . header . setTopRightLink ( WebApplicationData . getHeaderLinkText ( ) == undefined ? APPCFG . HEADER_LINK_TEXT : WebApplicationData . getHeaderLinkText ( ) , WebApplicationData . getHeaderLinkURL ( ) == undefined ? APPCFG . HEADER_LINK_URL : WebApplicationData . getHeaderLinkURL ( ) ) ; app . header . setSocial ( WebApplicationData . getSocial ( ) ) ; if ( app . seriesPanel ) { app . seriesPanel . setColor ( appColors [ 0 ] ) ; app . mobileCarousel . setColor ( appColors ) ; } $ ( '#infoWindowContent' ) . css ( "background-color" , appColors [ 1 ] ) ; _mainView . updateUI ( ) ; handleWindowResize ( ) ; }
Refresh the UI when tour points have changed
Refresh the UI when tour points have changed