Zum Hauptinhalt gehen

Highlight and Select colours

Kommentare

3 Kommentare

  • Permanently deleted user

    Hello Larisa,

     

    This is configurable through the configuration.json.js file in your site directory (For example "C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\<site_name>\Viewers\<viewer_name>\VirtualDirectory\Resources\Config\Default\Desktop.json.js" for modifying the Desktop Shell).

     

    Once you have that file open search the file for  "moduleName": "Highlight"  and there will be 2 options under configuration (fillColor and borderColor) which you can set to change the colour of the highlights.

     

     

    The colours will have to be in Hex format, and I suggest adding in a transparency value at the beginning of the HEX code to ensure that the highlight doesn't cover the feature you are looking at. 

     

    Here is an example of the json needed to get the highlight colours in the picture attached:

     

    {

     

            "moduleName": "Highlight",

     

            "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.Highlight.HighlightModule",

     

            "configuration": {

     

              "fillColor": "#9924A7FF",

     

              "borderColor": "#FF000000"

     

            }

     

    /customer/servlet/servlet.FileDownload?file=00P6000000eluELEAY

     

    Hopefully that helps, let me know if you have any further questions,

     

    Cory Purnell

     

    Latitude Geographics Quality Assurance Team
    0
  • Permanently deleted user

    Thank you so much! this is very helpful! I appreciate it.

     

    Larisa

    0
  • Permanently deleted user

    What if I had 5 - 10 layers (one or so recoreds selected for each) that are selected at once.  Currently it is obviously hard to tell the difference between my different polygon layers.  Is there a way to pick a different color for each layer?

    I use a workflow to select and return the various results.

    Is there a way to change it within the same workflow or is it always overrun by default values stored else where? ie .json config

    Thanks

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.