The GIS View does not show device pins on the Google Map. I have configured the Location attribute to a street address for the model added to the GCDevices global collection. When I launch the GIS view, the pins do not show.
Release:
Component: SPCOCK
There is a typo in the $Spectrum\tomcat\webapps\spectrum\console\gis-view.jsp which references localhost.
Edit the $Spectrum\tomcat\webapps\spectrum\console\gis-view.jsp and change the String requestRestURL entry from this:
String requestRestURL ;
String requestURL = request.getRequestURL().toString();
String servletPath = request.getServletPath();
String appPath = "http://localhost:8080/spectrum";
InputStream inputStream = null;
Properties prop = null;
try{
String ipAdressesFile=appPath+"/console/gisGC.config";
URL url = new URL(ipAdressesFile);
To this:
String requestRestURL ;
String requestURL = request.getRequestURL().toString();
String servletPath = request.getServletPath();
String appPath = requestURL.substring(0, requestURL.indexOf(servletPath));
InputStream inputStream = null;
Properties prop = null;
try{
String ipAdressesFile=appPath+"/console/gisGC.config";
URL url = new URL(ipAdressesFile);
Stop and restart Tomcat.