Disabling the Basemaps toggle in HTML5 Viewer
I would like to disable the Basemaps pulldown form the HTML5 Viewer (Version 2.3). My question is, what code snippet needs commenting in the Desktop.json.js that just disables this pull down, but not the Operational Layers/Base Maps division inside the TOC?
GCE 4.2.2
GVH 2.3
Thanks._img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000XaRo&feoid=Body&refid=0EM60000000Xqlt"_/_img_
0
-
Try setting visible to false in the JSON files:
{
"id": "BasemapSwitcherButtonView",
"viewModelId": "BasemapSwitcherViewModel",
"type": "geocortex.essentialsHtmlViewer.mapping.modules.basemap.BasemapSwitcherButtonView",
"markup": "Mapping/modules/Basemap/BasemapSwitcherButtonView.html",
"region": "BasemapMapRegion",
"visible": false,
"configuration": {}
},0
Please sign in to leave a comment.
Comments
1 comment