Hoppa till huvudinnehållet

Highlight Colour in HTML5 viewer

Kommentarer

4 kommentarer

  • Permanently deleted user
    I've tried changing the fill and border colour properties in the "Highlight" module in the desktop.json.js file with no luck.
    0
  • Permanently deleted user
    Is it maybe in the "markup" module in the json file? I think this is where I changed it but I can't remember. :-)

     

    {

     

            "moduleName": "Markup",

     

            "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.markup.MarkupModule",

     

            "viewModels": [

     

              {

     

                "id": "MarkupViewModel",

     

                "type": "geocortex.essentialsHtmlViewer.mapping.modules.markup.MarkupViewModel",

     

                "configuration": {

     

                  "markupLayerName": "Drawings",

     

                  "defaultPointMarkup": {

     

                    "pointStyle": "Circle",

     

                    "pointSize": 16,

     

                    "pointColor": "#FFEDEC3A"

     

                  },

     

                  "defaultLineMarkup": {

     

                    "lineStyle": "Dash",

     

                    "lineWidth": 3,

     

                    "lineColor": "#FFEDEC3A"

     

                  },

     

                  "defaultPolygonMarkup": {

     

                    "polygonBorderStyle": "Solid",

     

                    "polygonFillStyle": "Solid",

     

                    "polygonBorderWidth": 3,

     

                    "polygonFillColor": "#0000FFFF",

     

                    "polygonBorderColor": "#FF00FFFF"

     

                  },

     

                  "defaultTextMarkup": {

     

                    "textStyle": "Normal",

     

                    "textStyleWeight": "Normal",

     

                    "textSize": "12pt",

     

                    "textColor": "#FF000000",

     

                    "textFamily": "Arial"

     

                  },

     

                  "customMarkupTools": {

     

                    "point": [],

     

                    "polyline": [],

     

                    "polygon": [],

     

                    "text": []

     

                  }

     

                }

     

              },
    0
  • Permanently deleted user
    That was it!  Thanks for replying so quickly, this has been driving me nuts all morning!
    0
  • Permanently deleted user
    Hi Rebecca,

     

    Were you able to get the "AddMarkup" external command to work on a SelectFeatures collection? I can get a highlight on the HighlightEsriFeatureSet command but not a MarkUp on a feature selection, even though I've assigned fill and border colors AND have also tried modifying the MarkUp module as noted above.  Basically I'm wondering if you got the AddMarkup command to work on a selection or did you have to use the HighlightEsriFeatureSet and if AddMarkup worked for you, what command parameter did you use?

     

    Thanks!

     

    James
    0

Du måste logga in om du vill lämna en kommentar.