Hoppa till huvudinnehållet

Changing the basemap from switch mode into permanent expanded mode on GVH

Kommentarer

5 kommentarer

  • Permanently deleted user
    Hi Fatin,

     

    I don't believe there is.  You would need a startup workflow that runs the external command -  ToggleBasemapsDrawer.

     

    Regards,

     

    Wayne
    0
  • Permanently deleted user

     

    Thank you for your clarification, Wayne.

     

    I will be thankful if someone can help me on writing this workflow.

     

    Thanks in Advance

     

    Fatin
    0
  • Permanently deleted user
    Hi Faten,

     

    To configure the workflow to run automatically whenever an end user launches one of the site's viewers. You need to

     

    see "Configure a Workflow to Run on Startup" in the Geocortex Essentials Administrator Guide.

     

    Best

     

    Majdoleen
    0
  • Permanently deleted user
    Thank you Majdoleen, for your reply.

     

    Best,

     

    Fatin
    0
  • Permanently deleted user
    It will be nice if someone can help me in adding a condition on the following code in the Desktop.json.js that just enables the expanding mode for basemap region.

     

    Code:

     

    {

     

                "id": "BasemapSwitcherButtonView",

     

                "viewModelId": "BasemapSwitcherViewModel",

     

                "type": "geocortex.essentialsHtmlViewer.mapping.modules.basemap.BasemapSwitcherButtonView",

     

                "markup": "Mapping/modules/Basemap/BasemapSwitcherButtonView.html",

     

                "region": "BasemapRegion",

     

                "visible": true,

     

                "configuration": {

     

                  "hideIfNoBasemapsAvailable": true

     

                }

     

              }

     

    Is it possible to add a condition on the above configuration?

     

    Thank you

     

    Fatin
    0

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