Hoppa till huvudinnehållet

Embedd just a map

Kommentarer

1 kommentar

  • Permanently deleted user
    Hi Shawn,

     

    This is possible and I'm pretty sure it's been done a few times.  You will need to edit the Desktop.json.js file for the site and hide any aspects you don't want visible.  For instance, here is a code sample for the "I Want To Menu" from the Desktop.json.js file - 

     

            "views": [

     

              {

     

                "id": "IWantToMenuButtonView",

     

                "visible": true,

     

                "viewModelId": "IWantToMenuViewModel",

     

                ......

     

    and to hide it, you would simply change the visible property from true to false.  You would need to do this for every component you want hidden.  The default location for the Desktop.json file is - 

     

    C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\{SiteName}\Viewers\{ViewerName}\VirtualDirectory\Resources\Config\Default\Desktop.json.js

     

    and the tricky part would be knowing the names of the components.  Right clicking a component and selecting "Inspect" and then viewing the code would be the method I would recommend.

     

    Feel free to submit a support ticket if you need help with this.  I would recommend doing it on a newly added viewer, so you don't change the existing viewer and to take a backup copy of the file before editing it.

     

    I hope this helps.

     

    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 Partner

     

     
    0

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