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?
search cancel

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?

book

Article ID: 35338

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction



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>

default_GIS.png

 

     

    Environment

    Release:
    Component:

    Resolution

    The Spectrum GIS View can be modified to display additional data when the mouse pointer is placed on the location.

    1. Log into the OneClick system as the user that owns the Spectrum installation
    2. cd to the $SPECROOT/tomcat/webapps/spectrum/console directory
    3. Make a backup copy of the gis-view.jsp file
    4. 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;". 
    5. Refresh the GIS View page. The value of the Location attribute (if populated on the model) should now display.

    <Please see attached file for image>

    new_GIS.png

    Attachments

    1558692901210000035338_sktwi1f5rjvs16h4q.png get_app
    1558692899137000035338_sktwi1f5rjvs16h4p.png get_app
    1558692897266000035338_sktwi1f5rjvs16h4o.png get_app
    1558692895086000035338_sktwi1f5rjvs16h4n.png get_app