ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.
Is there an easy way to display the model location in the text pop-up when you hover over a location in the Spectrum GIS View?
Article ID: 35338
The Spectrum GIS view displays the model name and model handle of the model when the mouse pointer is placed on the location. Can this be modified to display other data?
<Please see attached file for image>
The Spectrum GIS View can be modified to display additional data when the mouse pointer is placed on the location.
Log into the OneClick system as the user that owns the Spectrum installation
cd to the $SPECROOT/tomcat/webapps/spectrum/console directory
Make a backup copy of the gis-view.jsp file
Edit the gis-view.jsp file and modify the line that reads "var marker_title="Model Name :" +model_name+"\n" + "Model Handle :" +model_handle;". For example, to add the Location attribute, change it to read "var marker_title="Model Name :" +model_name+"\n" + "Model Handle :" +model_handle+"\n" + "Location :" +location;".
Refresh the GIS View page. The value of the Location attribute (if populated on the model) should now display.