Remove 'Select Map' dropdown when using Linked Maps
Is there a way to remove the 'Select Map' dropdown menu when opening Linked Maps? We ONLY have Google Street view enabled so we dont want users to see the option to select another map when there aren't any other options to select.
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=906f2000000k9ov&feoid=Body&refid=0EMf2000000fyow"_/_img_
0
-
Hi Lisa,
That's a fair point, you may want to add this to the "Ideas" section of this site.
The only method I am aware of would be via CSS -
.ExternalComponentView .fui-selector {
visibility: hidden;
}
Regards,
Wayne Richard
Latitude Geographics Group Ltd.
Head Office: 300 – 1117 Wharf Street Victoria, BC Canada V8W 1T7
Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com
Developers of Geocortex web-based mapping software | www.geocortex.com
An Esri Platinum Business Partner0 -
Thank you Wayne! I also discovered that changing "headerIsVisible" to false in the Integration module removed the header.
"viewModels": [
{
"id": "ExternalComponentViewModel",
"type": "geocortex.essentialsHtmlViewer.mapping.modules.integration.ExternalComponentViewModel",
"configuration": {
"containerRegionName": "ExternalComponentRegion",
"containerRegionType": "geocortex.framework.ui.DivStackRegionAdapter",
"headerIsVisible": false,
"showXButton": true,
"showMaximizeButton": true,
"resizeY": true,
"selectorIconUri": "Resources/Images/Icons/Toolbar/map-24.png",
"selectorText": "@language-integration-selector-text",
"statusText": "@language-integration-viewpoint-indicator-desc",
"defaultComponents": [],
"externalComponents": [
{
"id": "googleMaps",
"displayName": "Google Street View",
"uri": "Resources/3rdPartyMaps/GoogleMaps.html",
"viewpointIndicatorUri": "Resources/Images/Icons/location-direction-blue-32.png"
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kALf&feoid=Body&refid=0EMf2000000fyp6" _/_img_
Will changing this have any negative implications on other parts of the map? I'm not 100% sure what the 'ExternalComponentViewModel' controls...0 -
Hi Lisa,
That's a better method. As it is part of the Integration view model it should only affect the 3rd party maps but I would do lots of testing to make sure.
Regards,
Wayne0 -
Thank you Wayne! 0 -
Can I change "Select Map" to something else, eg. "Zoning Information"? 0 -
Never mind. I changed the "selectorText". 0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
6 Kommentare