This is an archive related to a previous version of Esri Maps for IBM Cognos. If you need the current version go to http://doc.arcgis.com/en/maps-for-cognos/.

Change the default basemap

The basemap that is displayed by default in a map is the default basemap specified in your organization's ArcGIS account. You can specify a different default basemap by changing the Default Basemap setting in your ArcGIS account or by editing the baseMap section of the defaultMap.json.txt file.

The following instructions describe how to change the default basemap by editing defaultMap.json.txt.

  1. On each EM4C Gateway in your environment, make a backup of defaultMap.json.txt, located at em4c_location\webcontent\esrimap\em4c-bisprovider\defaults.
  2. Find the following section in defaultMap.json.txt:
    "itemData": {
    }
    
  3. Specify the basemap you want by including its unique ID and the URL to its REST endpoint, for example:
    "itemData": {
      "baseMap": {
        "baseMapLayers": [
          {
            "id": "123456",
            "url": "http://services.arcgisonline.com/arcgis/rest/services/ESRI_StreetMap_World_2D/MapServer"
          }
        ],
        "title": "New default Base Map"
      }
    }
    
  4. Refresh your browser cache.

    The newly specified default basemap will be used in all new map configurations, overriding the Default Basemap setting in your ArcGIS organizational account.

    If a report author wants to use the basemap specified in the organizational account for a particular report instead of that specified in defaultMap.json.txt, the report author must reset the appropriate map or maps in Esri Maps Designer.