OSM in Basemap Gallery

978
3
Jump to solution
09-01-2014 05:49 AM
TauhirMoolla
New Contributor

Hi all

Still very new to the javascript API and the web app builder.

With regards to customizing to the basemap gallery widget I am having an issue with trying to display only the Open Streets Basemap in the basemap gallery widget. This is how my config file looks at the moment:

{

  "basemapGallery": {

    "showArcGISBasemaps": false,

    "basemaps": [{

      "layers": [{

        "url": "http://OpenStreetMap.org"

      }],

      "title": "OSM",

      "thumbnailUrl": "images/default.jpg"

    }]

  }

}

Any help will be appreciated

1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Tauhir,

   OSM not being a basemap option in Beta 2 is a bug. You can add it by following the instructions in this post OSM Basemap

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Tauhir,

   OSM not being a basemap option in Beta 2 is a bug. You can add it by following the instructions in this post OSM Basemap

0 Kudos
TauhirMoolla
New Contributor

My mistake for not seeing this question being posted before.

Thanks

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Tauhir,

   Glad I could help. Please mark this question as answered by clicking on the "Correct Answer" link (with the little green star).

0 Kudos