Adding Custom Markup Styles
Hi All
I came across this Knowledge Base article on adding custom markup styles:
https://support.geocortex.com/essentialsGSCkba?sub-nav=kba&main-nav=essentials&#!/feedtype=SINGLE_ARTICLE_DETAIL&dc=All_Essentials_kba&criteria=BESTANSWERS&id=kA360000000Xazb
Can this be applied to the default markup tools? I have edited the desktop.json file as suggested but the added styles arent appearing in the styles list when slected in the viewer.
"id": "StyleSelectorViewModel",
"type": "geocortex.essentialsHtmlViewer.mapping.modules.markup.styleSelector.StyleSelectorViewModel",
"configuration": {
"customPointStyles": {[],
"customLineStyles": [],
"customPolygonStyles": [],
"customTextStyles": [["text", "#FF000000", "Normal", "Normal", "12pt", "Arial"],
["text", "#FF000000", "Normal", "Normal", "14pt", "Arial"],
["text", "#FF000000", "Normal", "Normal", "18pt", "Arial"],
["text", "#FFCCCCCC", "Normal", "Normal", "12pt", "Arial"],
["text", "#FFCCCCCC", "Normal", "Normal", "14pt", "Arial"],
["text", "#FFCCCCCC", "Normal", "Normal", "18pt", "Arial"],
["text", "#FFCC00CC", "Normal", "Bold", "20pt", "serif"],
["text", "#FFCC0000", "Normal", "Normal", "20pt", "fantasy"],
["text", "#FF00FF00", "Oblique", "Normal", "20pt", "monospace"]]
}
},
Just wondering if anyone else has had some success with this?
Cheers
Chris
0
Please sign in to leave a comment.
Comments
0 comments