Highlight Colour in HTML5 viewer
How do I change the highlight colour in HTML5 (v 2.6). I have a "zoom to parcel" workflow that uses the AddMarkup command to highlight a parcel on the map so I'm assuming that's the colour that has to change since it's not respecting the feature fill and border colours I've assigned.
0
-
I've tried changing the fill and border colour properties in the "Highlight" module in the desktop.json.js file with no luck. 0 -
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 -
That was it! Thanks for replying so quickly, this has been driving me nuts all morning! 0 -
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!
James0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
4 kommentarer