Hoppa till huvudinnehållet

Handheld viewer loads with Toolbar window shown and error in logs about missing Basemap switcher

Kommentarer

2 kommentarer

  • Amanda Frech
    Hi Andrew,

     

    The logs regarding BasemapSwitcherButtonView might prove to be a red herring in this case.  We have an issue filed internally for this, GVH-7123, where that particular warning is logged in the handheld shell even when the viewer is functioning as expected.

     

    If you have the toolbar in the handheld shell configured as a tabbed toolbar rather than a compact toolbar, it would open below the map like this, but unless it contains no tools at all it shouldn't be completely empty.  Here's a few ideas for troubleshooting:

     

    -clear your browser cache

     

    -triple check the configuration in the handheld tab on the Toolbar page in Manager

     

    -if you create a new empty site, does it do the same?  What about a new viewer for the same site?

     

    This might be a case where taking a close look at the configuration would be required, in which case you would want to contact support at AAM.

     

    Hope that helps,

     

    Amanda
    0
  • Permanently deleted user
    Hi Amanda, thanks for the reply.

     

    I have contacted AAM in the meantime and they have confirmed that this issue only occurs when the handheld viewer has the compact toolbar. When it has the tabbed toolbar the issue goes away. They have raised this with Latitude and I'm waiting to hear back.

     

    I have already tried this in multiple viewers, including one that was a new empty site, and I see the same issue.

     

    Also, I have found a workaround for the BasemapSwitcherButtonView error. I copied the following from the Config\Desktop.json.js file and changed 'visible' to false. The error went away and the handheld loaded better (the screen faded in whereas before it didn't).

     

    {

     

                "id": "BasemapSwitcherButtonView",

     

                "viewModelId": "BasemapSwitcherViewModel",

     

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

     

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

     

                "region": "BasemapRegion",

     

                "visible": false,

     

                "configuration": {

     

                  "hideIfNoBasemapsAvailable": true

     

                }

     

              },
    0

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