Zum Hauptinhalt gehen

Linked Maps in Compact Toolbar

Kommentare

5 Kommentare

  • Permanently deleted user
    I had missed adding the externalComponents configuration in the Integration module.  Thank you Odiri.
    0
  • Megan Fursdon
    I have the exact same question, however the links provided by Odiri back in 2016 seem to be obsolete. Are there new links to those discussions that someone can share?

     

     

    Thank you!

     

    Megan
    0
  • Permanently deleted user
    Hi Megan, finding those old links is difficult.  Here's what the Integration module looks like in my desktop.json.js.  I noticed I'm getting a street view not available message in this site right now, but I think it's unrelated to this code.

     

     

          {

     

            "moduleName": "Integration",

     

            "moduleType": "geocortex.essentialsHtmlViewer.mapping.modules.integration.IntegrationModule",

     

            "configuration": {

     

              "allowedOrigins": []

     

            },

     

            "views": [

     

              {

     

                "id": "ExternalComponentView",

     

                "viewModelId": "ExternalComponentViewModel",

     

                "type": "geocortex.essentialsHtmlViewer.mapping.modules.integration.ExternalComponentView",

     

                "markup": "Mapping/modules/Integration/ExternalComponentView.html",

     

                "region": "BottomPanelRegion",

     

                "visible": false,

     

                "configuration": {}

     

              }

     

            ],

     

            "viewModels": [

     

              {

     

                "id": "ExternalComponentViewModel",

     

                "type": "geocortex.essentialsHtmlViewer.mapping.modules.integration.ExternalComponentViewModel",

     

                "configuration": {

     

                  "containerRegionName": "ExternalComponentRegion",

     

                  "containerRegionType": "geocortex.framework.ui.DivStackRegionAdapter",

     

                  "headerIsVisible": true,

     

                  "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 Maps",

     

                      "uri": "Resources/3rdPartyMaps/GoogleMaps.html",

     

                      "viewpointIndicatorUri": "Resources/Images/Icons/location-direction-red-32.png"

     

                    }

     

                  ]

     

                }

     

              }

     

            ],

     

            "deferLoading": true

     

          },
    0
  • Megan Fursdon
    Thank you David!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.