Select to view content in your preferred language

Did Esri remove the USGS National Map layer from 2.0?

2398
4
Jump to solution
04-18-2016 11:25 AM
ChristopherSchreiber
Frequent Contributor

Just curious if Esri removed it, or I messed up something.

Thanks!

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Christopher,

  If you need to manually add it back then here is the json to add back to the [instal dir]/server/apps/[app#]/configs/config_Basemap Gallery.json:

{
        "layers": [
          {
            "id": "layer0",
            "layerType": "ArcGISTiledMapServiceLayer",
            "opacity": 1,
            "visibility": true,
            "url": "http://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer"
          }
        ],
        "title": "USGS National Map",
        "thumbnailUrl": "//yourorgsname.maps.arcgis.com/sharing/rest/content/items/6d9fa6d159ae4a1f80b9e296ed300767/info/thumbnail/national_map.jpg",
        "spatialReference": {
          "wkid": 102100
        }
      }

View solution in original post

4 Replies
RobertScheitlin__GISP
MVP Emeritus

USGS National Maps appears for me in the BaseMap Gallery Widget.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Christopher,

  If you need to manually add it back then here is the json to add back to the [instal dir]/server/apps/[app#]/configs/config_Basemap Gallery.json:

{
        "layers": [
          {
            "id": "layer0",
            "layerType": "ArcGISTiledMapServiceLayer",
            "opacity": 1,
            "visibility": true,
            "url": "http://basemap.nationalmap.gov/arcgis/rest/services/USGSTopo/MapServer"
          }
        ],
        "title": "USGS National Map",
        "thumbnailUrl": "//yourorgsname.maps.arcgis.com/sharing/rest/content/items/6d9fa6d159ae4a1f80b9e296ed300767/info/thumbnail/national_map.jpg",
        "spatialReference": {
          "wkid": 102100
        }
      }
ChristopherSchreiber
Frequent Contributor

Thanks Robert!

That added it back in.

Chris

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Chris,

  Don't forget to mark this question as answered by click on the "Correct Answer" link in the thread that answered your question.

0 Kudos