How to auto refresh the GIS view in Spectrum

Document ID : KB000110031
Last Modified Date : 08/08/2018
Show Technical Document Details
Question:
The GIS view in Spectrum is static. I need the map doing auto refresh. Could you please assist?
Answer:
Please add below tag in \tomcat\webapps\spectrum\console\gis-view.jsp.  

<meta http-equiv="refresh" content="30" /> 

This will refresh the page every 30 seconds . 

So, please add the line, as done in the below section of "gis-view.jsp": 

 
... 
<%@page import="com.aprisma.util.EncodeUtils"%><html:html locale="true"> 
<head> 
<title><%=request.getAttribute( "pagetitle" )%></title> 
<meta http-equiv=X-UA-Compatible content="IE=5"> 
<meta http-equiv="refresh" content="30" /> 
<apputil:css/> 
</head> 
<meta http-equiv="Pragma" content="no-cache"> 
<jsp:include page="/console/console-header-common.jsp" flush="true" /> 
...