Select to view content in your preferred language

No Basemap Choices in WebAppViewer

12136
25
Jump to solution
12-23-2014 11:00 AM
AdamRepsher
Frequent Contributor

When I configure the Basemap Gallery Widget in the Web AppBuilder for ArcGIS‌, the basemaps are not available in the Web App Viewers.  I have tried this in current versions of IE10, Chrome and Safari (iOS).

I have a basemap gallery group that I have configured in our Organization, if that matters.

Is anyone else having problems making the basemaps appear for the web app viewer?

0 Kudos
25 Replies
NathanEnge
Esri Contributor

Also having the same issue. All my basemaps including the one used in the webmap are Web Mercator.

Even if I remove all the Esri content, and just re-add the layer used for my basemap in the webmap, I still get a blank Basemap Gallery.

I am using the downloaded dev edition.

This is the JSON in the config_Basemap Gallery.json.

{

  "basemapGallery": {

    "basemaps": [

      {},

      {

        "title": "Basemap",

        "thumbnailUrl": "/webappbuilder/apps/4/widgets/BasemapGallery/images/default.jpg",

        "layers": [

          {

            "url": "http://cvrdgis2.ingram.cvrd.local:6080/arcgis/rest/services/Planning/CVRD_Base_Mercator/MapServer"

          }

        ],

        "spatialReference": {

          "wkid": 102100

        }

      }

    ]

  }

}

0 Kudos
StanMcShinsky
Frequent Contributor

remove the empty json tag. delete the whole line: {},

0 Kudos
NathanEnge
Esri Contributor

You're talking about...?

{

  "basemapGallery": {

    "basemaps": [

      {},

   .........

0 Kudos
StanMcShinsky
Frequent Contributor

Yes that is the one.

NathanEnge
Esri Contributor

Damnit. I didn't see that at first. took a restart of the node.js for it to take.

thanks man

0 Kudos
StanMcShinsky
Frequent Contributor

Nathan EngeAdam Repsher

It looks like the latest release of AGOL (March 2015) fixes this issue for me. Still waiting for the next version of Dev to fix it.

Stan